#gazzagood
1 messages ยท Page 1 of 1 (latest)
When we try to update the subscription we get 2 events:
Create - evt_3MwiJbLp16UdZ2ZC0hwJn9Lb
and cancelled - evt_3MwiJbLp16UdZ2ZC0RXAaHUA
I've also screen recorded
(wrong recording, 1 min)
correct recording
Hi
When we create a subscription, the payment card is getting attached to the user but not as a default source, is there a way to make the card the users default upon creation?
You can set this param when creating the Subscription:
https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_settings-save_default_payment_method
Can you share a Subscription Id ?
sure
sub_1MwiJFLp16UdZ2ZCojElmvER
It is setting the card on the subscription, the issue comes with update subscription it doesn't seem to succeed unless we set the default source for the user
For the subscription you shared, you are not setting that params when creating the invoice
Ah do you mean when doing the update request?
no the creation request:
https://dashboard.stripe.com/test/logs/req_W275uEpVquSV02
Ah, so one further thing, we were doing that, but... When the user added a new card, we attached it to the subscription, but during update subscription it seemed to charge the previous card that was added to the subscription on creation, it didn't bill the new card
We will re-implement how we had it, and I will test again and send you the info of what's happening
Give me 15 mins ๐
Well, it seems that fixed our issue! Not exactly sure what happened during our testing yesterday
Jut running some further tests, but otherwise, it looks like we may be good
Ok yes, we can close this ticket, that was the solution for us ๐ thank you once again for the fast support
Welcome!