#Matt Sencenbaugh
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Hi ๐
Are you familiar with making requests on behalf of your Connected Accounts?
https://stripe.com/docs/connect/authentication
Definitely! I'm making an update_subscription API call on behalf of a connected account and getting that error back
Can you share the actual subscription ID? I can't do much with screenshots
sure thing: sub_1Lu1jzEI5oCNPF5cjCnUckEF
Okay now can you share the request ID of the request that returns the error above?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_nHTwMmRJzqe1WO
Hmmm.... okay both requests were made with an OAuth token
Oh wait wait wait
The Account that made the Subscription is not the Account that attempts to update the subscription
Correct
Even though you are making it "on the Connected Account" it is being made using a different authentication method and that won't work
(this customer was tired of using Gravity Forms for Stripe management and wanted to switch to my system to manage their existing subscriptions)
Is there some way for the Stripe account owner to bless my application with powers to change those subscriptions?
Let me check with my colleagues
Thank you, I appreciate it
Okay I checked. There is no way around this as it would allow one platform to mess with another platform's integration. You would need to check the application parameter on the Subscription to determine if you could update the Subscription.
https://stripe.com/docs/api/subscriptions/object#subscription_object-application
Okay, thank you.
If I did want to work around this, it means I would need the customer to cancel all of their existing subscriptions manually via the dashboard and then recreate the subscriptions with my app?
Correct
You would need to change all the Customer Subscriptions to objects your platform has created
ok - thank you for the help!