#pitcherojbh
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- pitcherojbh, 4 days ago, 19 messages
Hi
You can achieve that using Subscription API.
You create a simulation with a customer and then use the customerId and create a Subscirption via the API
Thought so,
So this is my call
curl https://api.stripe.com/v1/subscriptions
-u "key:"
-d customer=cus_id
-d "items[0][price]"=price_1OMuL9AzNC2SOb8BI0lZkd3P
-d application_fee_percent=2
But this is returned:
"id": "sub_1OOfcJAzNC2SOb8B30QhYXmo",
"object": "subscription",
"application": null,
"application_fee_percent": null,
You didn't passed application_fee_percent when creating that Subscription, check the requestId req_ygV9iOoFZIZ9li
I inivte you to double check the request you are making and make sure you are passing the correct attribut
No according to the requestId that created the Subscription you've shared with me, it's not.
https://dashboard.stripe.com/test/logs/req_ygV9iOoFZIZ9li
if I add in a forced error, -d application_fee_percentsss=2 I get that the paramter is unknown
between application_fee_percent is for Connect only
yes, this is for connect
How are you willing to use Subscription with Connect ? what type of charges you want to implement Direct/Destination/Separate charge and transfers?
I do not understand what you are asking there
If you are using Connect, then what Type of charges you'll be using?
https://stripe.com/docs/connect/charges
Ah, we are using destination charges
Our application is using the SDK but I am trying to test a simulation using the clock sand box
thanks for the clarification, however in hte request you are making, that's not a Destination Charge.
You are not specifying the targert connect account
I invite you to check this guide in order to understand how to correctly create a Subscription with a destination charge:
https://stripe.com/docs/connect/subscriptions#use-destination-charges-to-create-a-subscription
got it, thank you