#risto-checkout
1 messages ยท Page 1 of 1 (latest)
are you specifying the items in line_items ?
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.
Do you have a link of the checkout session that that call generated?
I'm just taking the stripe checkout url from the the crete checkout response and doing a redirect
Can you share the session is or request id from your api call to create the session?
https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Have you tried another browser, or private/incognito mode?
i wonder if some extension might be interfering with Checkout's code
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.
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
server side and i just realized my redirect appends jsessionid unless I tell it not too. I works now. Thanks!
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 ๐
@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:)
Happy you got it figured out!