#ocardenas

1 messages · Page 1 of 1 (latest)

thin needleBOT
vestal minnow
blissful dome
vestal minnow
#

Ok, which part do you need me to explain?

blissful dome
#

I want to use the api for make the integration with stripe

#

$checkout_session = \Stripe\Checkout\Session::create([
'line_items' => [[
# Provide the exact Price ID (e.g. pr_1234) of the product you want to sell
'price' => '{{PRICE_ID}}',
'quantity' => 1,
]],
'mode' => 'payment',
'success_url' => $YOUR_DOMAIN . '/success.html',
'cancel_url' => $YOUR_DOMAIN . '/cancel.html',
]);

#

this part please

#

I need to create a product inside of Stripe?

#

could make this integration without send the price_id and only send the total price

#

?

vestal minnow
blissful dome
#

I understand

#

I have other doubt, If I use PaymentIntent directly always I have to use StripeElements?

vestal minnow
blissful dome
#

Ok, my doubt is I could create an own form?

#

and for Example manage the data of credit card?

vestal minnow
#

You can, but it's not recommended. Handling sensitive credit card information in your application requires getting PCI compliance by yourself.

blissful dome
#

sorry for the question but whats is PCI?

solid scarab
#

Hey! Taking over for my colleague. Let me catch up.

blissful dome
#

Thanks a lot

#

I have other question if I manage the credit card information for my side

#

what flow I'll have to follow to the integration?

solid scarab
blissful dome
#

I have to create a PaymentIntent

#

after that create payment element

#

and handle the submit event

#

but in this case I create the payment element and manage the credit card data

solid scarab
#

Yeah for sure

blissful dome
#

Sorry I have other doubt, are you have a guide for vue.js?

solid scarab
blissful dome
#

Sorry I have other doubt If I want to go direct to api without Stripe Elements

#

how I can do this?

solid scarab
#

What do you mean by "go direct to api"?

blissful dome
#

I was reading this page

#

and in this have a this section

#

If I would like to use this option

#

how i should be the integration?

brazen shuttle
#

You should absolutely not use a direct API integration like that

#

Requires additional SAQ compliance outside of that covered by Stripe's payment UIs, which for most users is a non-starter

blissful dome
#

I understand but I would like to use this option

#

how I can do this?

brazen shuttle
#

I'd strongly advise against this, do you have the necessary PCI compliance?