Error pay manual subscription
-
Hi,
This error happens to me when I set the manual payment or if the renewal payment is not successful.
The error I get from stripe is this
“Error processing payment. Reason: This PaymentIntent’s payment_method_types could not be updated because it has a status of succeeded. You may only update the payment_method_types of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action. Order status changed from Paid to Failed.”Can you point me to the right direction to check?
Thanks.
-
Hi @alby696,
when I set the manual payment or if the renewal payment is not successful.
Can you elaborate on what you mean by “set the manual payment”? I am not sure what you mean.
It sounds to me like you might be trying to re-process an order that’s already been paid for.
Kind Regards,
Hi,
i have tested the function of subscription woocoomerce.
“Allow customers to turn on and off automatic renewals from their View Subscription page.”I have set the monthly recursive payment to off, in fact an order is created that remains in pending-payment and the subscription is set in on-hold as it is not paid.
I tried today to make the manual payment, for testing and when I am in the checkout and I go to make the payment I return this error.Thank you
@alby696 Any renewal order that hasn’t been paid for will never have a payment intent associated with it. But based on the error message you received, the renewal order that you tried to manually pay for already had a payment intent associated with it.
Did you pay for that order then change it’s status to pending payment?
I’d recommend starting with a freshly created renewal order if that’s the case.
Kind Regards,
Woocoomerce did everything, I set the subscription on manual payment, automatically woocoomerce yesterday created the pending order and the pending subscription, I wanted to try to pay and it gives me this error.
I am now trying to pay for the order created to renew the subscription.
@alby696 This wouldn’t be an issue with the plugin. It sounds like there might be some code on your site that’s copying over the _payment_intent_id postmeta value into the renewal order.
If you go to your postmeta table I bet there will be a _payment_intent_id value on the renewal order from a previous order. Are you using a saved payment method on the checkout page or a new payment method?
Kind Regards,
you take a saved payment method.
If I try to change it in the subscription it asks me that there is already another one saved.you take a saved payment method.
If I try to change it in the subscription it asks me that there is already another one saved.I am not sure what you mean. A screenshot might be helpful.
This doesn’t appear to be an issue related to the Stripe plugin.
I am attaching the webhook that woocoomerce sends me the order that I tried to manually pay for the subscription renewal, obviously I removed the data, even if test with test test
- This reply was modified 2 years, 2 months ago by alby696.
{“id”:15167,”parent_id”:0,”status”:”failed”,”currency”:”USD”,”version”:”6.1.1″,”prices_include_tax”:false,”date_created”:”2022-01-23T17:20:17″,”date_modified”:”2022-01-24T18:44:45″,”discount_total”:”0.00″,”discount_tax”:”0.00″,”shipping_total”:”0.00″,”shipping_tax”:”0.00″,”cart_tax”:”0.00″,”total”:”15.00″,”total_tax”:”0.00″,”customer_id”:75,”order_key”:”wc_order_1khaNGO6xgqbz”,”billing”:{“first_name”:”Test”,”last_name”:”Test”,”company”:”Test Test”,”address_1″:”Test Test”,”address_2″:””,”city”:”Test”,”state”:”Test”,”postcode”:”00000″,”country”:”IT”,”email”:”test@test.com”,”phone”:””},”shipping”:{“first_name”:””,”last_name”:””,”company”:””,”address_1″:””,”address_2″:””,”city”:””,”state”:””,”postcode”:””,”country”:””,”phone”:””},”payment_method”:”stripe_cc”,”payment_method_title”:”Credit Cards”,”transaction_id”:””,”customer_ip_address”:”1.1.1.1″,”customer_user_agent”:”Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko\/20100101 Firefox\/96.0″,”created_via”:”subscription”,”customer_note”:””,”date_completed”:null,”date_paid”:null,”cart_hash”:”dfcf79f1ca0fb7ec34465381ab3ce7c6″,”number”:”15167″,”meta_data”:[{“id”:47428,”key”:”_billing_vps”,”value”:”fsn1″},{“id”:47429,”key”:”billing_vps”,”value”:”fsn1″},{“id”:47430,”key”:”_payment_intent_id”,”value”:”pi_3KL8KzEbb7tojhQ11x88kc7T”},{“id”:47431,”key”:”_payment_method_token”,”value”:”pm_1KL8elEbb7tojhQ16kIHwDW1″},{“id”:47432,”key”:”_wc_stripe_mode”,”value”:”test”},{“id”:47433,”key”:”_payment_intent”,”value”:{“id”:”pi_3KL8KzEbb7tojhQ11x88kc7T”,”object”:”payment_intent”,”amount”:1500,”amount_capturable”:0,”amount_received”:0,”application”:null,”application_fee_amount”:null,”automatic_payment_methods”:null,”canceled_at”:null,”cancellation_reason”:null,”capture_method”:”automatic”,”charges”:{“object”:”list”,”data”:[{“id”:”ch_3KL8KzEbb7tojhQ118O9LqZl”,”object”:”charge”,”amount”:1500,”amount_captured”:0,”amount_refunded”:0,”application”:null,”application_fee”:null,”application_fee_amount”:null,”balance_transaction”:null,”billing_details”:{“address”:{“city”:”Test Test”,”country”:”IT”,”line1″:”Test Test”,”line2″:null,”postal_code”:”0000″,”state”:”Test”},”email”:”test@test.com”,”name”:”Test Test”,”phone”:null},”calculated_statement_descriptor”:”Test Test”,”captured”:false,”created”:1642953798,”currency”:”usd”,”customer”:”cus_KuWJDdT15Wh8ui”,”description”:”Order 15156 from Test Test”,”destination”:null,”dispute”:null,”disputed”:false,”failure_code”:”processing_error”,”failure_message”:”An error occurred while processing your card. Try again in a little bit.”,”fraud_details”:[],”invoice”:null,”livemode”:false,”metadata”:{“gateway_id”:”stripe_cc”,”order_id”:”15156″,”user_id”:”75″,”ip_address”:”1.1.1.1″,”user_agent”:”Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko\/20100101 Firefox\/96.0″,”partner”:”PaymentPlugins”,”created”:”1642953797″,”product_15116″:”Test x 1″},”on_behalf_of”:null,”order”:null,”outcome”:{“network_status”:”declined_by_network”,”reason”:”processing_error”,”risk_level”:”normal”,”risk_score”:62,”seller_message”:”The bank returned the decline code
processing_error
.”,”type”:”issuer_declined”},”paid”:false,”payment_intent”:”pi_3KL8KzEbb7tojhQ11x88kc7T”,”payment_method”:”pm_1KL8XAEbb7tojhQ1B0Zt6BBA”,”payment_method_details”:{“card”:{“brand”:”visa”,”checks”:{“address_line1_check”:”pass”,”address_postal_code_check”:”pass”,”cvc_check”:”pass”},”country”:”US”,”exp_month”:3,”exp_year”:2025,”fingerprint”:”INEswxxbTZPxxXPJ”,”funding”:”credit”,”installments”:null,”last4″:”0119″,”network”:”visa”,”three_d_secure”:null,”wallet”:null},”type”:”card”},”receipt_email”:”test@test.com”,”receipt_number”:null,”receipt_url”:null,”refunded”:false,”refunds”:{“object”:”list”,”data”:[],”has_more”:false,”total_count”:0,”url”:”\/v1\/charges\/ch_3KL8KzEbb7tojhQ118O9LqZl\/refunds”},”review”:null,”shipping”:null,”source”:null,”source_transfer”:null,”statement_descriptor”:null,”statement_descriptor_suffix”:null,”status”:”failed”,”transfer_data”:null,”transfer_group”:null}],”has_more”:true,”total_count”:2,”url”:”\/v1\/charges?payment_intent=pi_3KL8KzEbb7tojhQ11x88kc7T”},”client_secret”:”pi_3KL8KzEbb7tojhQ11x88kc7T_secret_r5jQEqFcO7GpMaXMx5Z06mkOV”,”confirmation_method”:”manual”,”created”:1642953041,”currency”:”usd”,”customer”:”cus_KuWJDdT15Wh8ui”,”description”:”Order 15156 from Test Test”,”invoice”:null,”last_payment_error”:null,”livemode”:false,”metadata”:{“gateway_id”:”stripe_cc”,”order_id”:”15156″,”user_id”:”75″,”ip_address”:”1.1.1.1″,”user_agent”:”Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko\/20100101 Firefox\/96.0″,”partner”:”PaymentPlugins”,”created”:”1642954051″,”product_15116″:”Test x 1″},”next_action”:null,”on_behalf_of”:null,”payment_method”:”pm_1KL8bFEbb7tojhQ1QTN4rokE”,”payment_method_options”:{“card”:{“installments”:null,”network”:null,”request_three_d_secure”:”automatic”}},”payment_method_types”:[“card”],”processing”:null,”receipt_email”:”test@test.com”,”review”:null,”setup_future_usage”:”off_session”,”shipping”:null,”source”:null,”statement_descriptor”:null,”statement_descriptor_suffix”:null,”status”:”requires_confirmation”,”transfer_data”:null,”transfer_group”:null}},{“id”:47435,”key”:”_wc_stripe_charge_status”,”value”:”succeeded”},{“id”:47436,”key”:”_wc_stripe_customer”,”value”:”cus_KuWJDdT15Wh8ui”},{“id”:47437,”key”:”_stripe_source_id”,”value”:””},{“id”:47446,”key”:”_subscription_renewal”,”value”:”15165″},{“id”:47511,”key”:”is_vat_exempt”,”value”:”no”}],”line_items”:[{“id”:61,”name”:”Test”,”product_id”:15116,”variation_id”:0,”quantity”:1,”tax_class”:””,”subtotal”:”15.00″,”subtotal_tax”:”0.00″,”total”:”15.00″,”total_tax”:”0.00″,”taxes”:[],”meta_data”:[{“id”:558,”key”:”_cart_item_key_subscription_renewal”,”value”:”93a7d20f60ab0f1069221861225a46c2″,”display_key”:”_cart_item_key_subscription_renewal”,”display_value”:”93a7d20f60ab0f1069221861225a46c2″}],”sku”:””,”price”:15,”parent_name”:null}],”tax_lines”:[],”shipping_lines”:[],”fee_lines”:[],”coupon_lines”:[],”refunds”:[],”date_created_gmt”:”2022-01-23T17:20:17″,”date_modified_gmt”:”2022-01-24T18:44:45″,”date_completed_gmt”:null,”date_paid_gmt”:null,”currency_symbol”:”$”,”_links”:{“self”:[{“href”:”https:\/\/testtest.com\/wp-json\/wc\/v3\/orders\/15167″}],”collection”:[{“href”:”https:\/\/testtest.com\/wp-json\/wc\/v3\/orders”}],”customer”:[{“href”:”https:\/\/testtest.com\/wp-json\/wc\/v3\/customers\/75″}]}}@alby696 can you please send a link to the order pay page?
- The topic ‘Error pay manual subscription’ is closed to new replies.