#martyn-checkout-successpage
1 messages · Page 1 of 1 (latest)
@strong musk I don't know anything about Slim, but that shouldn't be a problem. Are you serving your website over HTTPS?
Yes mate, apologies if im being dense!
Got the site connecting to the Stripe API fine
is your website loading over HTTPS though?
95% of the time "losing the cookie/session" is because you do it on HTTP and then send to Checkout which is HTTPS
Yeah, without being dense are you just checking that the URL starts https:// etc?
So im getting the checkoutsession returned absolutely fine, what I need is some guidence on how to use that via the stripe API, to get the customer details back so we can store them
https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_details does this work? That has a lot of details about the Customer
Ill take a look thanks! Using PHP, again sorry for being dense, are there any like example code I can review where that (or something similar) is being called?
Can I just use a call like $stripe->session->get(id); or something?
https://stripe.com/docs/api/checkout/sessions/retrieve has examples in all the languages!