#Zan-Checkout
1 messages ยท Page 1 of 1 (latest)
Hi there, Stripe will still create a PaymentIntent for a CheckoutSession, it's just that the PaymentIntent creation is deferred.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can specify the application_fee via this param.
I'm doing this -
But this is not creating PaymentIntent and I'm not getting any fees
Also, when I search for that payment Intent ID in Stripe Dashboard, it's not found
Can you share with me the checkout session ID?
cs_test_a1YspWkdh9vbljzSGoty72Rp7Q8v10lwdJcozC4XnFgCabHCJcq2wtR9kp
PI for this session is pi_3Lc1tdQSYBjWUolt1twhX6lg
The PI is still null because this Checkout session is not yet completed
Do i need to do anything else in order to complete this session?
Once your customer has completed this checkout session, a PaymentIntent is created and you can access it.
It says completed in log
Did you attempt to access the PaymentIntent before the checkout session is completed?
I didn't see any Application fees for any of the transactions done so far so I started reading docs and got to know ant PI so searched for one of the PI
Payment goes into Completed status instantly after payment from portal
You set application_fee_amount to 0 in the checkout session creation request, do you want to set it to a different amount?
I see it's 0 from the log.
Send me the other checksession ID.
Can you double check and make sure (long?) ApplicationFee is not 0?
Nice, mystery solved ๐