#martyn-checkout-successpage

1 messages · Page 1 of 1 (latest)

real skiff
#

@strong musk I don't know anything about Slim, but that shouldn't be a problem. Are you serving your website over HTTPS?

strong musk
#

Yes mate, apologies if im being dense!

#

Got the site connecting to the Stripe API fine

real skiff
#

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

strong musk
#

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

real skiff
strong musk
#

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?

real skiff
strong musk
#

Right im a moron

#

Thanks mate!