Subscription renewal payment error: Order does not contain intent
-
Using 1.7.1 version
When the customer is suppose to be charged on a renewal payment:
I get this in the log:
ERROR An error occurred while trying to renew the subscription for order 98871: Order does not contain intent.
The customer has a credit card saved.
Please help, Thank you
-
Here the full log, I removed sensitive data:
`2022-04-08T09:40:06+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {“intent”:”AUTHORIZE”,”purchase_units”:[{“reference_id”:”default”,”amount”:{“currency_code”:”EUR”,”value”:”89.00″,”breakdown”:{“item_total”:{“currency_code”:”EUR”,”value”:”74.17″},”shipping”:{“currency_code”:”EUR”,”value”:”0.00″},”tax_total”:{“currency_code”:”EUR”,”value”:”14.83″}}},”description”:””,”items”:[{“name”:”test”:{“currency_code”:”EUR”,”value”:”74.17″},”quantity”:1,”description”:”test1″,”sku”:”TEST”,”category”:”DIGITAL_GOODS”,”tax”:{“currency_code”:”EUR”,”value”:”14.83″}}],”payee”:{“merchant_id”:”XXXX”},”custom_id”:”98871″,”invoice_id”:”ppstesta-UA1111″}],”application_context”:{“user_action”:”CONTINUE”,”shipping_preference”:”NO_SHIPPING”,”landing_page”:”LOGIN”,”locale”:”en-US”,”brand_name”:”SIM USA”,”return_url”:”https:\/\/toto.com\/?wc-ajax=ppc-return-url”,”cancel_url”:”https:\/\toto.com\/checkout\/”},”payer”:{“name”:{“given_name”:”test”,”surname”:”test”},”email_address”:”[email protected]”,”address”:{“country_code”:”FR”,”address_line_1″:”test”,”admin_area_2″:”test”,”postal_code”:”11111″},”phone”:{“phone_type”:”HOME”,”phone_number”:{“national_number”:”0123456″}}},”payment_source”:{“token”:{“id”:”xxxa”,”type”:”PAYMENT_METHOD_TOKEN”,”source”:{“card”:{“last_digits”:”01234″,”brand”:”VISA”,”verification_status”:”NOT_VERIFIED”}}}}}
Response Debug ID: c8df05xxxxx
Response: Array
(
[code] => 201
[message] => Created
)2022-04-08T09:40:06+00:00 ERROR An error occurred while trying to renew the subscription for order 98871: Order does not contain intent.`
Hi @thibotus01,
If you have updated to version 1.7.1, then please make sure to resubscribe to the webhooks from the Webhooks Status page.
This is a live payment, I assume? If so, could you please also have the PayPal MTS take a look at this?
The intent is visible at the beginning of the request body though, so I’m not sure what the error is referring to. Subscription-type products are always handled with the intent Authorize, regardless of what is configured in the settings.
In any case, could you please send us a copy of the full log from WooCommerce.com > My Account > Support. We’d like to take a closer look into this.
Please include a link to this forum thread so that we can keep track of your request.
Thanks!Kind regards,
NiklasHi,
Yes it’s live, everytime I contact PayPal MTS for all issues I had with your plugin they always reply they don’t receive anything on their side.
I sent you a ticket thru Woocommerce
Thank you,
Thank you!
We are looking into what could be causing the issue.
The previous version 1.7.0 may be one way to prevent it as we have seen two separate reports about this error following the 1.7.1 update, but we must first learn a bit more about the actual cause to provide better suggestions.Kind regards,
NiklasI have the Same Issue with Renewals…
2022-05-04T13:53:20+00:00 ERROR An error occurred while trying to renew the subscription for order 3562: Order does not contain intent.
Any solution on this ?
- This reply was modified 2 years, 7 months ago by pogotime.
Hello @pogotime
since 1.7.0 we have added many fixes for issues related to subscriptions, so I would like to ask you to check if the last release (1.9.0) still is showing the same issue you were encountering before and let us know.
If the issue still exists, please let us know what errors you are seeing.Kind regards,
JoostSince we haven’t heard back from you, I’m going to mark it as resolved.
In case you’re still having problems, feel free to let us know!Plugin Version 2.0.1
This is still an Issue:
2023-01-25T01:06:02+00:00 DEBUG POST?https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials?Response Debug ID: f3402ced63caa Response: Array ( [code] => 200 [message] => OK ) 2023-01-25T01:06:03+00:00 DEBUG GET?https://api.paypal.com/v2/vault/payment-tokens/?customer_id=1a6653a5afc36?Response Debug ID: 6d39fd56a24a5 Response: Array ( [code] => 200 [message] => OK ) 2023-01-25T01:06:04+00:00 DEBUG POST?https://api.paypal.com/v2/checkout/orders?Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"39.00","breakdown":{"item_total":{"currency_code":"EUR","value":"32.77"},"shipping":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"6.23"}}},"description":"","items":[{"name":"Abo [Digital]","unit_amount":{"currency_code":"EUR","value":"32.77"},"quantity":1,"description":"","sku":"","category":"DIGITAL_GOODS"}],"payee":{"merchant_id":"XXX"},"custom_id":"1025","invoice_id":"1025"}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"de-DE","brand_name":"XXX","return_url":"https:\/\/XXX\/?wc-ajax=ppc-return-url&elementor_page_id=0","cancel_url":"https:\/\/XXX\/kasse\/"},"payer":{"email_address":"xxx","name":{"given_name":"Eric","surname":"Eggert"},"address":{"country_code":"DE","address_line_1":"xxx","admin_area_1":"DE-NW","admin_area_2":"xxx","postal_code":"xxx"}},"payment_source":{"token":{"id":"xxx","type":"PAYMENT_METHOD_TOKEN","source":{"card":{"last_digits":"xxx","brand":"VISA","verification_status":"NOT_VERIFIED"}}}}} Response Debug ID: 34c5f699705d7 Response: Array ( [code] => 201 [message] => Created ) 2023-01-25T01:06:04+00:00 ERROR An error occurred while trying to renew the subscription for order 1025: Bestellung enth?lt keine Absicht. 2023-01-25T07:13:25+00:00 DEBUG POST?https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials?Response Debug ID: ffa55731e776b Response: Array ( [code] => 200 [message] => OK )
- This reply was modified 1 year, 10 months ago by eggertmedia.
- This reply was modified 1 year, 10 months ago by eggertmedia.
- The topic ‘Subscription renewal payment error: Order does not contain intent’ is closed to new replies.