#andromache-line-items

1 messages · Page 1 of 1 (latest)

upbeat pecan
#

@tawny ruin do you have a bit more details like your exact code (you only shared a small part), an example failed request id (req_123456) etc.?

#

I don't see those params passed in the past hour

tawny ruin
#

Hi , let me check

#

@upbeat pecan here it is: req_ibiVBb3Mr9yxg3 - sorry I missed some details

#

my request was req_gUjldoNkSsKRrl
it returned this req_ibiVBb3Mr9yxg3

upbeat pecan
#

(looking)

#

yeah I think you're missing the line items parameter entirely

#

I think your code is not doing what you think

tawny ruin
#

Sorry but I can't figure out what's missing?

upbeat pecan
#
  success_url: "https://obstaclesports.ch/shop/checkOrder.php?idOrder=3",
  cancel_url: "https://obstaclesports.ch/shop/orderCancelled.php",
  customer_email: "test2@mail.com",
  mode: "payment"
}```
#

that's what you sent

#

that has no line item information at all

#

when you create a Checkout Session you need to tell us what the customer is going to buy

tawny ruin
#

Ohh I get it now, sorry about that and Thank you!!! 😁

upbeat pecan
#

all good!

tawny ruin
#

Might have been an error on my end that sent the request twice.

#

This was the first request which worked : req_gUjldoNkSsKRrl
Somehow I sent in another request, thanks for pointing that out

upbeat pecan
#

yeah that request worked fine

upbeat pecan
#

@tawny ruin are you all set?

tawny ruin
#

Yes, thank you!