#Bruno777
1 messages · Page 1 of 1 (latest)
Hi, let me look into this!
Copying your other message here for context.
$intent = \Stripe\PaymentIntent::create([
'amount' => 989,
'currency' => 'eur',
'receipt_email' => 'mail@mail.com,
'payment_method_types' => ['card'],
'capture_method' => 'automatic',
'description' => 'Recharge : '.$jetons_nb,
'confirmation_method' => 'automatic',
'setup_future_usage' => 'off_session' // With this line = bug
]);
I see that the request failed because it is missing required parameter amount.
Are you sure the value you are sending is not null? Is it a number literal or it comes from a variable?
I am sure that the variable is well informed, it contains 389 or 989
Are you always here ?
Hey! Taking over for my colleague. Let me catch up.
Th error message indicates that the amount param is required and you didn't send it. In the request Stripe received there is no amount attribut
You can see the full request body you sent, in your dashboard:
https://dashboard.stripe.com/logs/req_blNsg4TfvnCbNR