#rarea-checkout

1 messages · Page 1 of 1 (latest)

cold swallow
#

Pasting for context:

$checkout_session = \Stripe\Checkout\Session::create([
// 'payment_method_types' => ['card'],
'mode' => 'payment',
'line_items' => [[
'name' => 'Semn Luminos',
'description' => 'Semn Luminos luminos personalizat',
'images' => ['https://artledistic.com/wp-content/uploads/2021/04/logo-neon.svg'],
'amount' => $pret,
'currency' => 'ron',
'quantity' => 1,
]],
'customer' => $customer->id,
'success_url' => $YOUR_DOMAIN . 'stripe/public/success.html',
'cancel_url' => $YOUR_DOMAIN ,
]);

#

Hi 👋 I see your code is creating a checkout session, can you clarify what your concern is?

vivid wave
#

No verification . LIke a alert on bancar app. Is just doing the pay.

#

I need the client to agree the pay . I know your api can do this . I do not now how.

cold swallow
#

Not sure what the bancar app that you're referring to is, but Checkout Sessions are fully hosted flows. If you want a different experience then what they provide then you will need to build a custom flow.

vivid wave
#

No . I men when the rest api get :payment_method_types' => ['card']

#

I get verification via bacnk . The pay is accept when the client is geting the notification on his bancar app . To accept or decline the pay

#

Sorry for my english :))

#

This! :)))

cold swallow
vivid wave
#

Ok . One sec to test it

#

You have something on php ?

cold swallow
#

I don't think we have pre-written snippets for that. If you're continuing to work with Checkout Sessions, then you'll want to use Radar rules to require 3DS as you won't be directly creating the Payment Intents that those sessions use.

vivid wave
#

Your rest api have something easy then Checkout Sessions? For Checkout whit 3ds?

#

I men , Whit no product register.

#

I need to declare the product every time , is a customise product whit customise price .

cold swallow
#

No, Checkout is the easiest approach that allows ad-hoc pricing. Otherwise you would need to build a custom UI and experience using Stripe Elements.

#

Also keep in mind that if you require 3DS and a customers card/bank doesn't support it, then they won't be able to complete a purchase.

vivid wave
#

Ok .Thanks for your time! I understand now! :))

cold swallow
#

Happy to help!