#manu-checkout-discount

1 messages ยท Page 1 of 1 (latest)

barren templeBOT
young gate
#

I have also tried to use the URL with its parameters and i got this, any idea of what could it be?๐Ÿ˜…

#

it says that the coupon is not valid, and in my dashboard or when using the checkout sessions it works and recognizes the coupons.

dry tapir
#

@young gate is this a 100% coupon? If so those don't work with PaymentLinks/Checkout today though we are working on it

young gate
#

no, its a 50% coupon

dry tapir
#

Can you give me more specific like an exact Checkout Session id (cs_test_123) and the exact PromotionCode id promo_123

young gate
#

ok, let me search and checkout with that coupon and a payment link with the same coupon

#

cs_test_a1xkKy2DzvmobXZ8ocsmM6bbZEMlFxFPSc4eqQFdYlsgfHzpuu6HbVmrrH#fidkdWxOYHwnPyd1blpxYHZxWmhpaWtUc0hSZnRTb2lkblNkMHVOTHxAcicpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl

#

this is the coupon id: ICEMEXICO

dry tapir
#

manu-checkout-discount

young gate
#

and this is my payment link: cs_test_b1yS9vfMH1hL3eJJisQoR0q9YPZRPFbF0kdyDSpfJ8IorSqNBCXtH4uQdV#fidkdWxOYHwnPyd1blpxYHZxWmhpaWtUc0hSZnRTb2lkblNkMHVOTHxAcicpJ3VpbGtuQH11anZgYUxhJz8ncWB2cVo2ZnY3Z1c3PHNnd0g0MDM8Q3UnKSd1d2BjbGlpYGFVd2poakZqYWAnPydMRkBIQF1MRkoneCUl

dry tapir
#

what's the exact promotion code id the promo_123 not the customer-facing code

young gate
#

ehmm sorry but where i can see that promotion code id?

dry tapir
#

ah damn okay, total confusion

#

This is a Coupon and for some reason you/your integration set the id for it. That will never work

young gate
#

hahah

dry tapir
#

What you need to do is create a PromotionCode which is the resource that lets you generate a customer-facing code that can be used in Checkout

young gate
#

mmhh ok ok, but i am using payment link, is there any problem? Because the issue is when i create a payment_link not a checkout_Session

dry tapir
#

a PaymentLink creates a Checkout Session when you click that link. So they both work the same.

You create a Coupon. You need to now create a PromotionCode. That's the step you missed

young gate
#

ahh ok ok, ty so much. I will try that and let you know if it works. Thanks again! ๐Ÿ™‚

dry tapir
#

sure thing!