#risto-checkout

1 messages ยท Page 1 of 1 (latest)

paper harbor
#

that doesnt sound right

#

are there any browser console/network errors?

tight gyro
#

are you specifying the items in line_items ?

vital glacier
#

I'm using this as a test line item

#

line_items: [
{
price_data: {
currency: 'usd',
product_data: {
name: 'T-shirt',
},
unit_amount: 2000,
},
quantity: 1,
},
],

#

@paper harbor no errors and the response from session.checkout has no errors.

tight gyro
#

Do you have a link of the checkout session that that call generated?

vital glacier
#

I'm just taking the stripe checkout url from the the crete checkout response and doing a redirect

paper harbor
#

Have you tried another browser, or private/incognito mode?

#

i wonder if some extension might be interfering with Checkout's code

vital glacier
#

Thanks you guys helped me solve it. It's something with my redirect it doesn't like. I copied the checkout URL from the response, pasted it directly in a browser and everything shows up.

#

Actually I didn't solve it yet but that's on me not a stripe issue.

tight gyro
#

What kind of redirect? are you using a particular status code?

#

Sometimes browsers handle permanent codes differently, like 301. I don't know if that's why you're having issues, just a thought

vital glacier
#

server side and i just realized my redirect appends jsessionid unless I tell it not too. I works now. Thanks!

paper harbor
#

it might be a CORS issue when you redirect, because of localhost and cors headers

#

nice!

#

glad its working ๐Ÿ™‚

#

thanks for the assist @tight gyro ๐Ÿ‘

vital glacier
#

@paper harbor @tight gyro Great forum I just joined and to think I was waiting 30 min in support chat with no response. They must be really busy:)

tight gyro
#

Happy you got it figured out!