#elquick-subscription-update

1 messages · Page 1 of 1 (latest)

lucid crownBOT
silver spoke
#

elquick-subscription-update

#

Hello! Can you provide more specific/actionable information like the exact call you are making, the PaymentIntent id pi_123, etc.

still current
#

Sure, I'm on it!

#

Source:
API

POST /v1/subscriptions/sub_1Lyx2VDSGSYbnsrwcigGkHCZ

Request POST body:

{
"proration_behavior": "none",
"billing_cycle_anchor": "now",
"trial_end": "now"
}

Response body:

{
"error": {
"code": "subscription_payment_intent_requires_action",
"message": "Payment for this subscription requires additional user action before it can be completed successfully. Payment can be completed using the PaymentIntent associated with subscription.latest_invoice. Additional information is available here: https://stripe.com/docs/billing/subscriptions/overview#requires-action",
"request_log_url": "https://dashboard.stripe.com/acct_1Ksa2EDSGSYbnsrw/logs/req_Z9oAEOjTUY9rkk?t=1669789203",
"type": "card_error"
}
}

#

That request triggered the 3 events mentioned above

silver spoke
#

specifically you want payment_behavior: 'allow_incomplete' I think

still current
#

Awesome! thank you so much, I going to try now.

silver spoke
#

@still current did that work?

still current
#

yes! it's working now, I assume I have to change the confirmation flow in order to use latest_invoice instead of pending_setup_intent, right?

silver spoke
#

yes

still current
#

perfect! thank you so much!