#anuroop_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222537761547096115
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- anuroop_api, 32 minutes ago, 3 messages
:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact
Hello @loud mauve sorry I had to step away earlier and couldn't reply back earlier
What we are trying to do, is credit the prorated refund back to the customer's defualt payment method
When I checked earlier about this, I was asked to
- cancel the subscription with prorate set to true
- Find the invoice that's created through this proration
- Finalize the invoice using invoice.pay() api
When we tried it, we did not see the credit applied back to the user's default payment method
Are you asking why a refund hasn't showed up to customer's payment method?
for the prorated amount?
Yes the statement doesn't reflect the credit applied yet
So the timeline is on Monday we have created a subscription using a credit card. We saw that charge on the credit card statement immediately
Next day we canceled the subscription with prorate set to true, found the prorate invoice and paid it.
Expected to see a credit on the statement for the prorated amount but do not see it yet
All this was done programatically using a one time script
I'd recommend talking to our support team about this as they're more familiar with how refunds are issued and can help look into this further
Is the idea correct though for refunding unused amounts on subscriptions?
I'm not really grasping your flow here. Can you expand on your example usecase here with amounts and such?
I can give you the subscription id and invoice IDs as well if you need it
Here is the flow though
Oh I think I see what you're trying to do here
Are you trying to refund $98.94 to customer as the prorated credit?
I believe it was added to customer balance instead
If you scroll down: https://dashboard.stripe.com/customers/cus_NRTQjQs584QRQV
Okay doesn't it get refunded (credited) back to the original payment method? Since the subscription is now canceled?
How do we make sure it gets credited back to the default payment method?
We cant have that money as customer credit balance as they wont be able to sign up again.
Thinking..
To refund credit balance, you need to: https://support.stripe.com/questions/refunding-credit-balance-to-customer-after-subscription-downgrade-or-cancellation
Do I have to first invoice.pay to create credit balance and then find the credit balance, associated charge and call the refund API?
Is my understanding correct?
I believe so. The invoice that gets finalized is what credits the amount to the customer for the unused time.