How to make Order with Parallel Express Checkout in Paypal?
-
16-10-2019 - |
Question
How can we place "Order" for parallel transactions in Express Checkout?
I set
PAYMENTREQUEST_0_PAYMENTACTION = Order
PAYMENTREQUEST_1_PAYMENTACTION= Order
in SetExpressCheckout
and then in DoExpressCheckoutPayment
. but it gives error "Internal Error"
PAYMENTINFO_1_ERRORCODE] => 10001
[PAYMENTINFO_1_SHORTMESSAGE] => Internal Error
[PAYMENTINFO_1_LONGMESSAGE] => Internal Error
[PAYMENTINFO_1_SEVERITYCODE] => Error
[PAYMENTINFO_1_ACK] => Failure
All is fine until DoExpressCheckoutPayment
why this internal error is coming?
Thanks in advance
Solution
For
PAYMENTREQUEST_0_PAYMENTACTION = Order PAYMENTREQUEST_1_PAYMENTACTION= Order
in
SetExpressCheckout and then PAYMENTREQUEST_0_PAYMENTACTION = Order PAYMENTREQUEST_1_PAYMENTACTION= Order
in DoExpressCheckoutPayment
, "Internal Error" came in DoExpressCheckoutPayment
response
Because I used personal account id in PAYMENTINFO_0_SELLERPAYPALACCOUNTID
and PAYMENTINFO_0_SELLERPAYPALACCOUNTID
.
So these parameters must have paypal Business account ids. (in my case the error was because of wrong usage of paypal accounts where there must be Business accounts ).
Thanks