#dimitar_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/1220714904676339825
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
As long as the domain is accessible publicly, sure
See: https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#testing
Its not, its 127.0.0.1 domain
oh okay i thought i would need to use ngork but wasnt sure
Recommendation is to use ngrok or similar. Apple needs to be able to crawl the URL to verify the registration
Im looking at the migration tutorial and it wants me to use await stripe.confirmPayment() which i previously done in PHP is it possible to still do it in PHP and not confirm the payment in JS?
previously i just used stripe.handleCardPayment() in js then i confirmed the payment intent in PHP
i mean capture**
Oh yeah you can do that
Would technically be this flow: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method
Just doing manual capture
yes exactly, but theres no JS shown hmm
Yeah but it would be the same as what's in our accept a payment gudie
Only difference is you're setting capture method as manual on the payment intent and you call confirmPayment as normal in the js
Then when you're ready to capture, you call capture server-side
Oh so the confirmPayment doesnt capture it when i have created the payment intent to manual capture?
Thanks for the info, i was mistaken by the name confirm!=capture
No problem
Im wondering in which cases the redirect is required i see that there is option to use redirect: "if_required". Do Card/Apple Pay/Google Pay sometimes require redirection or this is only for some other providers?
If im not mistaken for Cards the 3D security/2fa is done in an iframe?
That param is only for payment methods that require it. As far as I know, card, apple pay, and google pay don't require it
yeah
unless you configure it to do a redirect explicitly
but the default behavior is within the page
Are you talking about the 3D Security/2fa popup, i dont see where can i configure this?
Do you want a redirect instead of the popup?
Not really, i was just curious, i prefer the popup
Thanks, so the confirmPayment handles all that automically right? I dont need to track the requires_action status?
Correct