#Gourmet-pi-incomplete

1 messages · Page 1 of 1 (latest)

median plinth
#

Hey! Can you share the ID of the Payment Intent? (pi_xxx)

unkempt blaze
#

pi_3JwLuOK1mwV0mceo07C5eet9

median plinth
#

Yeah, so there's no Payment Method attached to the Payment Intent (in order to actually complete the payment):
status: "requires_payment_method"

#

How are you integrating with Stripe?

unkempt blaze
#

Stripe\PaymentIntent::create ([
"amount" => $total_amount * 100,
"currency" => $curr_symbol,

            "payment_method_types" => ['card'],
            "receipt_email" => $email_id
            
    ],[
            "idempotency_key" => $idemp_key
    ]);
#

please check the above code.

median plinth
#

Yeah so you're creating a Payment Intent, but there's no actual payment instrument attach to it. Are you currently using Stripe.js to capture payment information and 'confirm' the payment?

unkempt blaze
#

yes

#

Can you please help me for that to integrate the same.

median plinth
unkempt blaze
#

Hi, Stripe.setPublishableKey is not a function error showing.

median plinth
#

Where are you referencing that from?