#supreeth_code

1 messages ¡ Page 1 of 1 (latest)

pseudo warrenBOT
#

👋 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/1420476442336038995

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

regal mantle
#

for example this payment ^ it looks like it was never retried!

timber epoch
#

Can you send me the in_ ID of that invoice? Happy to take a look. As long as the collection_method on the invoice is charge_automatically, we should apply your automatic retry settings. One thing to keep in mind is that that Invoice.Pay call won't itself invoke an automatic retry, automatic retries are based on the automatic charge attempts that Stripe makes around the invoice.

regal mantle
#

in_1S8DurLoz3M8FCeub2zg7N62

#

I see that collection_method is "charge_automatically"

timber epoch
#

Are you seeing this with other invoices as well? That may have been bad luck on that example, looking for what else may prevent it

regal mantle
#

whats interesting is that the customer reached out to us saying that they received a message from the back...

Dear Customer,

We regret to inform you that the transaction of Rs. 2208.22 on your HDFCBank Credit Card ending with xxxxxx has declined.

Reason: Effective 1st Oct 2021, the Bank is required to decline all recurring transactions on cards initiated by merchants who are non-compliant with the new RBI guidelines.

To ensure clarity, here's what you need to know:

  1. Applicable on Recurring / Standing Instructions transactions from merchants who comply with the new RBI guidelines,

Transactions up to Rs. 15,000 will be processed automatically without an OTP.

Transactions above Rs. 15,000 will necessitate OTP verification via pre-debit (before the payment notification).

#

Is stripe not compliant with RBI in india ?

pseudo warrenBOT
regal mantle
#

I have another invoice - in_1S9bQyLoz3M8FCeuyi91aFVj if you want to check

timber epoch
#

We are, there are special details for handling that though.
https://docs.stripe.com/india-recurring-payments
Also it looks like I missed the other major setting you need to set here: auto_advance is false by default for one-off invoices and automatic retries only happen if that is set to true. So you can either set that to true when creating your invoices or you can update it when finalizing the invoice (which should also automatically make a payment attempt I believe)
https://docs.stripe.com/api/invoices/finalize

regal mantle
#

we add invoice items after creating an invoice - auto_advance to true auto-finalizes immediately ?

rustic pecan
#

Hi, taking over as my teammate needs to step away. Let me catch up.

regal mantle
#

no probs! Thank you

rustic pecan
regal mantle
#

oh ok

#

can you look into in_1S9bQyLoz3M8FCeuyi91aFVj ?

rustic pecan
#

Looking at that example

regal mantle
#

but the same card transactions have gone through before right ?

rustic pecan
#

Which previous transaction?

regal mantle
#

pi_3RnppGLoz3M8FCeu0UKrtAGe

#

so I dont need to set auto_advance to true ?

#

i'm going away for sometime

#

will be back in an hour