#sainita_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1257356289881935902
đ Have more to share? Add 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.
- sainita_code, 43 minutes ago, 6 messages
- sainita_code, 3 hours ago, 11 messages
- sainita_code, 4 hours ago, 5 messages
- sainita_code, 5 hours ago, 24 messages
- sainita_code, 2 days ago, 6 messages
Hello
You test Google Pay and Apple Pay by putting a real card in your wallet and then as long as you are in test mode that real card is swapped out for a test card during the flow.
You can't use the Stripe test cards in your wallet to test here
If I use any live card then i get "Request timeout "error
Then that is an integration error
Are you calling confirmPayment() at the end of your flow?
Can you successfully complete a transaction at https://docs.stripe.com/elements/express-checkout-element using the same card you are testing your integration with?
Yes. I was redirected to a return url where I saw the redirect status payment intent and secret
Okay so then yeah that indicates there is some integration error occurring
Is there somewhere I can visit to reproduce the error you are seeing?
this is the url where I have added the button
we don't need this return url anymoreas we have some intermediate process
After the updation in redirect parameter, when I am unable to test
If you look in your console there is an integration error
IntegrationError: stripe.confirmPayment(): the `confirmParams.return_url` argument is required when using automatic payment methods.
Please ignore the 404 message in my screenshot as this url was not present. We just wanted to test the process so added this demo url. Now, it's been replaced with redirect:if_required
So the above is your issue
You still have to set a return_url
Even if you using redirect: 'if_required'
Ok. If I set that url, will it be redirected? because, we can't redirect directly without the intermediate process
Not unless a payment method type which requires a redirect is used.
So if you are only supporting Google Pay here then no, that redirect will never occur.
Ok, then we just need to add this return url . But it won't be used
That shows a requires redirect column
yes
Ok. I will update it then. Thanks