thirtybees / paypal

PayPal
4 stars 9 forks source link

PayPal payment on hold setted as received #16

Open Derbai opened 6 years ago

Derbai commented 6 years ago

I get a payment with money transfer to PayPal. The payment was on hold in PayPal but marked as received on ThirtyBees. After shipping the payment was cancelled and I loose the item.

It should be fixed changing the order status on Waithing payment, not as received, on this case.

firstred commented 6 years ago

Thanks for this report!

The PayPal developer site can show the exact error code: https://developer.paypal.com/developer/dashboard/live/ which should be one of these: https://developer.paypal.com/docs/api/payments/#errors

Could you share which code you are seeing, so we can have a look?

Derbai commented 6 years ago

I checked but there are no error shown in there. Anyway I don't think is an API error but how this payment type set the order status. Confirmed payment should set "Payment received", payment on hold should change the order status to "Waithing Paypal payment".