woocommerce / woocommerce-gateway-paypal-express-checkout

59 stars 64 forks source link

"Regulatoryreview" status isn't handled as expected #492

Open grig-23 opened 6 years ago

grig-23 commented 6 years ago

Reported in

hc - 7681997

What was expected

When the payment has "Regulatoryreview" status in PayPal but is processed afterwards - I was hoping that the order status will change to "Processing" or "Completed" in WooCommerce

What happened instead

Order status stays "On hold" even after the payment is processed in PayPal

How we found out

I'm not aware of a way to get the payment to end up with "regulatoryreview" status in PayPal on demand but looking here https://developer.paypal.com/docs/classic/api/merchant/DoExpressCheckoutPayment_API_Operation_NVP/ there's such a status mentioned:

screenshot Image Link: http://cld.wthms.co/hEzcDt

We weren't able to find the code that would be responsible for handling such status.

For our customer this always means that the payment status won't change after the payment is confirmed in PayPal.

This is perhaps an enhancement request, asked the user to also add this to our ideas board.

allendav commented 4 years ago

@kloon - any intersection with order status here?

kloon commented 4 years ago

@allendav yes, since WooCommerce currently does not have a status to handle something like pending authorization it will require a custom status to make it work with the current status implementation.

With the new payment statuses, we are aiming to introduce an awaiting authorization status that can be used for this.

Conclusion if you implement this with the current statuses you will require a custom status which will likely make the migration a bit more complex for this extension.