Delayed Chained Payment Using Adaptive Payments Issue - paypal

I followed the Paypal documentation
When i reach the 4th step i get this error for payKey.

At last i managed to find the solution. In step-4 i wasn't passing the parameters correctly. WHen i closely looked at all parameters and made the call it works. Thanks to all who looked into the question and gave their time and comments.

Related

"name":"INVALID_RESOURCE_ID","message":"Requested resource ID was not found."

I can't understand how such a very important method of payment have to few help and is too complicated to use it.
I am trying to complete payments in sandbox in order just to test the "refund" for one of our customers.
Every time I try to refund a payment I have this error.
I have already read and google lost of suggestions for solutions but none of then are clear enough and some other simply do not have any answer.
Is there actually someone from paypal who can help me?

PayPal IPN - "Update your integration before 1/18/2017" email. How to identify incorrect data in my IPN code?

I've been using the PayPal's IPN system for over several years. I have a PHP script that's been processing online eCommerce payments on my web site without any issues.
Today I received the following email from PayPal:
Update your integration before 1/18/2017.
Effective 1/18/2017, your PayPal Payments Standard (also known as
Website Payments Standard or HTML buttons) integration will be
affected by updates we’re making to enhance the checkout process.
We’ve identified your integration as passing either invalid or
incorrect data to PayPal in one or more of your payment buttons. To
ensure your payments continue to process, you’ll need to update your
integration as soon as possible.
What’s Needed
Please check out these FAQs for more information on common integration
issues. Additional details can be found in our Developer documentation
here.
Here are some of the benefits you’ll receive with your updated
integration:
sales blah-blah...
As always, if you need help or have any questions, give us a call or
visit our Help Center.
Thank you for being a PayPal customer.
I checked my integration script and it is passing their "most common problems" from here.
So my question is, did anyone figure out how to test your IPN script with their new update to know what exactly has been identified as passing incorrect or invalid data to PayPal?

Faulty Luhn algorithm function?

In my PayPal Pro credit card payment system, I use the Luhn algorithm function given in the first answer to this question. However, I have several US clients who apparently tried to pay with their credit cards and their details were rejected by the function (return false), although my script allows them to try any number of times.
At the same time, I know other clients' CC details were indeed accepted by the function and payments were successful.
I conclude there must be something wrong with the function itself. Is that possible?
To answer your question I'd have to get a look at your function. You didn't include that here for review.
That said, I'm curious why you're messing with that at all..?? If the credit card is invalid the PayPal API will return an error that informs the user of this. Let their system handle it for you. No need to add extra checks of your own.

Paypal Subscriptions/Recurring Payments

I'm currently putting together a processing script for a website, and have run into a question that I can't seem to find a clear answer to. Paypal's documentation is iffy at best, and I do not use Paypal enough to discern the answer easily from the information they provide.
When a subscription is created through Paypal, they return two notifications in the first instance - subscr_payment, and subscr_signup.
My question is: Do future payments at the set data process as subscr_payment, or as recurring_payments?
Future payments are sent as "subscr_payment"
https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-subscriptions-outside

PayPal TimeOut - DoExpressCheckoutPayment

We are using PayPal on a faily large website, integration went well with all code helpers from the integration wizard. Now we had processed a number of transactions in the first day of putting this live but a small percentage (5%) essentially had there transaction processed by PayPal but our system recieved a TimeOut. I believe this happens at the point where we submit the "DoExpressCheckoutPayment" Method. and because of this the system cannot tell if the payment has been complete or not.
This is a real tough one, as the website has a live currency that we need to update so paypal taking the money but the system not updating is not acceptable.
I'm interested to know if this is a common problem and how we should go about handeling it. I'm doing my best to re-create the issue but cannot at this time.
This looks like a similar problem - https://www.x.com/thread/45136
Any help would be appriciated!
Add retry logic to your application. This is a common way of handling this problem.
After looking into this in more depth, retry logic is not a good idea as the TimeOut is due to the response (So paypal has most likly credited the account).
Instant Payment Notification (IPN) seems to be the solution.