#rups
1 messages · Page 1 of 1 (latest)
yes using checkout session with mixed case
how to get stripe log on success page
What do you mean by "stripe log"?
$stripecheckout = $stripe->checkout->sessions->create([
'customer' => $cust_id,
'payment_method_types' => ['card'],
'line_items' => [
[
'price' => 'price_1NuTzVSGP5P6X1lfJScP4onu',
'quantity' => 2,
],
[
'price' => 'price_1NuU0ASGP5P6X1lfxFVPvqyn',
'quantity' => 1,
],
],
'mode' => 'subscription',
'success_url' => 'http://localhost/3d-secure',
'cancel_url' => 'http://localhost/3d-secure',
]);
after redirecting to stripe page for payment. if payment success it will auto redirect me to success_url
right?
Yes
now I need to update my database with stripe success or stripe cancel reason
which api gives me that response?