#goliath1879_docs
1 messages ยท Page 1 of 1 (latest)
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.
- goliath1879_error, 5 days ago, 18 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1259857335531339878
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi ๐ as far as I'm aware none of those actually trigger a pre-debit notification being sent. Can you tell me more about what you're trying to test?
Hi
I setup mandate for my workflow
and as per the documentation any transaction amount more than 15000 should trigger a notification being sent
but it didn't happen
Am I missing something?
Also now the paymentIntent failed due to no approval from the user. My assumption is the after getting the pre-debit notification you verify the transaction through the notification
Please correct me if I am wrong
Those mandates aren't sent during testing.
Not that I'm aware of.
Do you have more details about how you tested that flow that you can share?
Hmm, how can I test the pre-debit notification flow?
I want to test if any customer for which the mandate is generated and a payment intent is created but the amount is more than 15000 how does the notification looks like and how he/she can approve the payment?
You can't test that. My understanding is that those notifications are sent by your customers bank, so they may not be consistent in appearance and you wouldn't get much if any value from us sending a fake test notification that may not be representative of what the bank will send.
I added required mandate_options parameters in setupIntent and confirmed through setupintent.succeeded webhook logs that mandate is created. And also created invoice manually for a transaction and finalized it as well.
The entire flow works as expected however I want to test for the other scenario when the transaction is more than 15000 (which is the maximum limit of off_session mandate)
So can you help me understand what are these 4 scenarios mentioned here and how can I test against them? https://docs.stripe.com/india-recurring-payments?integration=subscriptions#testing
The scenario that each of those test cards causes to be simulated is listed there in the docs, and you use those test card numbers to trigger those scenarios.
Please help me understand this scenarios (could be very stupid, please bear with me)
The way i test each scenario is add the card details through setupIntent and then make sure mandate is created successfully (via webhook logs)
Once the mandate is created and setup is done. I create a invoice manually per transaction (since the amount is varying per month, I avoid creating subscription) and then finalise the invoice.
Is this the right way to test each scenarion? I am not sure how else can I test each scenario differently.
Also how to cancel a mandate if in a testing mode I don't get notification and there is no cancel mandate API. I believe removing the payment method is one way but the payment Intent is already created will that affect it?
Yes, that sounds like the correct way to test each scenario.
To test the scenario where a customer cancels a mandate, you use the fourth test card from that table which simulates the following scenario:
Simulates a cardholder canceling a mandate of any amount.
I still don't understand the point of second and third scenario from the table if we don't get any test notification from the stripe test bank in test mode.
Simulates a cardholder receiving a pre-debit notification for an off-session payment either canceling or pausing the payment for a mandate of any amount.
this is exactly what I did and the paymentIntent failed with no approval! what did I miss?