#Bruno777

1 messages · Page 1 of 1 (latest)

jaunty owlBOT
flat dew
#

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?

plain zodiac
#

I am sure that the variable is well informed, it contains 389 or 989

#

Are you always here ?

sly sonnet
#

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