I have been working on my abandoned cart flow, and for the final email, I want to give the customer a coupon code for 20% off their order. I have changed the URL on the button to: https://www.scamperandco.com/52837908680/checkouts/{{ event.extra.token }}?discount={% coupon_code 'ABANDONCART20' %}, but that leads to the following error:
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/7f765c99-bb55-4868-a801-b6df2de0f45c.jpg)
Any idea what I am doing wrong?
Best answer by Omar
View original