#treciokas
1 messages ยท Page 1 of 1 (latest)
Not sure I understand what you want to achieve eaxctly here, but you can create a PaymentLink for a Subscription.
Maybe you can provide more info how to create one? in docs i can see that you can create Payment link for price of plan object https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-line_items-price
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes so you can set the priceId of the recurring price that represents your Subscription
Yes i know this. But this will not make subscription as paid. But now i see that Invoice page has payment page. To maybe i can get this link from invoice object
But this will not make subscription as paid
Can you share a subscriptionId ?
sub_1KoAoJL6x5zHDLJP9qiizaFl
The main issue is with India payments. We need to refactor a lot to accept India card payments so we want that users would have ability to pay using payment links for their subs
What issue exactly ?
The subscription you shared is in a past due to recurring payment the payment wasn't made from India.
Here is the error message:
The bank returned the decline code transaction_not_allowed, and did not provide any other information. We recommend that your customer contact their card issuer, SWEDBANK AS, for more information, or use another payment method.
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Ok probably i have solved this issue: I will use https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url for unpaid subscriptions
let me know if you need any more help