422 Unprocessable Entity - Error: ORDER_ALREADY_COMPLETED on Recurring Payment

Created on 28 July 2021, over 3 years ago
Updated 26 June 2023, over 1 year ago

I am using Drupal 8.9.1 and Commerce, Commerce Recurring Framework, Commerce PayPal modules. Set up PayPal Gateway with 'PayPal Checkout (Preferred)' option (tried with both Live & Test).

Initial Payment is working but when the Module tries for a Recurring Payment it's throwing an error on JSON format -

Client error: `PATCH https://api.sandbox.paypal.com/v2/checkout/orders/{id}` resulted in a `422 Unprocessable Entity` response: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ORDER_ALREADY_COMPLETED","description":"The order cannot be patched (truncated...)

Please help me get out of this situation. It's too urgent. I have been facing with this situation from last 2 weeks.

Thanks in advance!

🐛 Bug report
Status

Active

Version

1.0

Component

PayPal Checkout

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024