#krishna008
1 messages · Page 1 of 1 (latest)
the customer is created on a Connected Account, so you need to make the API calls like creating a Subsciption, on the same account
const subscription = await stripe.subscriptions.create(
{
customer: customer.id,
items: [{ price: price.id }],
},
{
stripeAccount: bank_info.stripe_account_id,
}
);
can i do like above?
seems like it might work, you can test it out and see!
nwo giving No such price: 'price_1NppwlDQ2NISSvOsvJSIhBXz'
yep, same thing, you have to create the Price on the connected account.
if you're using Direct Charges like this, all objects(the Price, Product,Subscription,Customer,PaymentMethod) all need to be created on the connected account, using the Stripe-Account header where needed.
Okay sir.
StripeInvalidRequestError: This customer has no attached payment source or default payment method. Please consider adding a default payment method.
you should follow the guide and make sure to pass payment_behavior:default_incomplete
Hello sir
Regarding subscripiton application fee.
For first time it is deducted.
Will I get it every time.
Customers subscription is for 12 months, will I get application fee in my account on each month?
Yes, the application fee will be deducted from every recurring payment
you too!