#ema6551

1 messages · Page 1 of 1 (latest)

vocal oysterBOT
shy peak
#

Hello

#

There are two ways to handle this

summer stratus
#

I had updated my message

shy peak
#

Ah then you want the first option above

vocal oysterBOT
summer stratus
#

Ok, I didn't understand one thing.
In the first solution I am explained how to create the payment intent. But how do I get the checkout page to pop up where payment details are requested?
because if I create the payment internal, an object is returned to me containing these fields in PHP

#

@shy peak

candid summit
#

The only difference is the payment intent creation step (where you need to enable manual capture)

#

And the final step where you capture the funds (or not) later

summer stratus
#

Is there a guide with code examples in php?

candid summit
#

yep the link above

#

just select php

summer stratus
#

This guide shows the use of the Payment Element component.

#

My flow is as follows

  • User must purchase a product for 10 euros, enter the site and click buy.
  • When you have to provide me with your payment details, you are redirected to the stripe page at the link "www.stripe.com/<something>".
  • After the user has entered his payment data, he is redirected to my app through the callback call set during session creation, here I recover the session provided to me by stripe and then...? I can't figure out what I should do next.
candid summit
#

Oh you use checkout

#

Not a custom page