#nik213256

1 messages · Page 1 of 1 (latest)

glad stumpBOT
signal iris
#

Hi there!

#

Can you clarify where you see this error?

#

Can you share the Checkout Session ID?

pure kernel
#

i see this on the vs code console

signal iris
#

Can you share the Checkout Session ID or the code you wrote?

pure kernel
#

where i can found the checkout session id

signal iris
pure kernel
#

Corpo risposta

{
"id": "pi_3Nn5MVJuJ2MJ8r7K1RgwnY3S",
"object": "payment_intent",
"amount": 2000,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3N*************************************************Nahp",
"confirmation_method": "automatic",
"created": 1693943795,
"currency": "usd",
"customer": null,
"description": "(created by Stripe CLI)",
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_payment_method",
"transfer_data": null,
"transfer_group": null
}

Corpo POST richiesta

{
"amount": "2000",
"description": "(created by Stripe CLI)",
"currency": "usd",
"payment_method_types": [
"card"
]
}

signal iris
#

Okay so you are not using Checkout Session, but PaymentIntents directly

#

I see you created the PaymentIntent, now the next step is to collect a payment method