#daxiang28-checkout-promocodes
1 messages · Page 1 of 1 (latest)
is this it? cs_live_b1L4vY9BUjJlrTqcjadqFB9B31EW5VVv7GQwBRc8xuDenMdOKM1u5sUUYp
That works! Let me take a look
Do you also have the specific promo code that you were trying to use?
THANKYOUFREE
side note, i initially wanted to have a 100% coupon, but was having issues earlier but recall that i couldn't discount 100% because it had to meet a transaction minimum
Yeah with Checkout Sessions in payment mode you have to meet the minimum transaction amount - but can you give me more details on where you're seeing this invalid_request_error? I'm not seeing any attempt to actual pay/confirm cs_live_b1L4vY9BUjJlrTqcjadqFB9B31EW5VVv7GQwBRc8xuDenMdOKM1u5sUUYp, so more details on where specifically you're seeing the error would be helpful
i just tried that code on the following: https://api.stripe.com/v1/payment_pages/cs_live_b1R3KIvVrsXzNWZyJHEaSqI7yMMdgLKwj5Kpw0XGi5oqKFzrKBzGZc1H9n
Got the following error: {
"error": {
"code": "promotion_code_invalid",
"message": "This code is invalid.",
"type": "invalid_request_error"
}
}
I believe the issue here is that the THANKYOUFREE promo code is configured to only be used with first time customers
the customers that have tried it haven't completed an order yet
I do create the customer on the backend when generating the session URL so that i can populate the email address
For cs_live_b1L4vY9BUjJlrTqcjadqFB9B31EW5VVv7GQwBRc8xuDenMdOKM1u5sUUYp, that customer does have at least one successful payment associated with them, which is why its failling
I also tried this promo code that doesn't have a first time user restriction: NEXTDOORFREE22
Got this event though the Card method is selected: ```{
"error": {
"code": "amount_too_small",
"doc_url": "https://stripe.com/docs/error-codes/amount-too-small",
"message": "Amount must be no less than $50.00 usd for Affirm payment method.",
"param": "amount",
"type": "invalid_request_error"
}
}
Can you show me where you're seeing that?
thanks for all that context - I'm able to reproduce it on my own account as well, so let me do some more digging and to see why this is happening
@sly sandal I'd recommend writing in https://support.stripe.com/contact but I also flagged to our product team to work on a fix!
Ok thanks. Is there a recommendation that I can provide to customers to get around this?