Skip to main content
Problem Solver I
November 25, 2022
Solved

Stripe and Klaviyo integration

  • November 25, 2022
  • 12 replies
  • 878 views

Hi guys,

 

We’ve just moved our website over from a shopify website to a custom website using stripe, and struggling to implement discount codes. What’s the easiest way to generate unique discount codes which expire for new customers in our welcome flow? As well as unique codes which expire for customer winback flows?

 

Thanks,


Ben

This topic has been closed for replies.
Best answer by alex.hong

Hi @brewcrew ,

Thanks for sharing.

You can find more information on the Stripe Integration here

We do not have that ability with stripe to create codes within Stripe. However, you can generate unique coupons and upload them. You can find out more about how to do that here: https://help.klaviyo.com/hc/en-us/articles/115005084727-Guide-to-Using-Coupon-Codes-in-Klaviyo

 

Hope this helps,

Alex

12 replies

alex.hong
alex.hongAnswer
Klaviyo Alum
November 25, 2022

Hi @brewcrew ,

Thanks for sharing.

You can find more information on the Stripe Integration here

We do not have that ability with stripe to create codes within Stripe. However, you can generate unique coupons and upload them. You can find out more about how to do that here: https://help.klaviyo.com/hc/en-us/articles/115005084727-Guide-to-Using-Coupon-Codes-in-Klaviyo

 

Hope this helps,

Alex

brewcrewAuthor
Problem Solver I
April 28, 2023

Hey, 

 

Just revisiting this. With the method of uploading coupons, how do I add an expiry window for after it’s sent. For example, I want a coupon to be used in my win-back flow that will last for 48 hours from the time it is sent.

 

Thanks!

Taylor Tarpley
Community Manager
Community Manager
April 28, 2023

Hi @brewcrew

 

Thanks for your question! 

 

I’d encourage you to check out our awesome documentation linked as you walk through installing coupons! 

 

As it states in Step 5 of the documentation, when you get to the ‘Active Dates’ after choosing what kind of discount you want you’ll see this screen:

Choose the ‘on a specific date’ option, which will then let you choose when you want the coupon to be active before expiring.

Thanks for participating in the Community!

-Taylor 

brewcrewAuthor
Problem Solver I
May 8, 2023

And this will link to our custom stripe checkout and have them expire there? Thanks :)

David To
Klaviyo Employee
Klaviyo Employee
May 8, 2023

Hey @brewcrew,

So this wouldn’t link back to your custom Stripe checkout automatically.

When using uploaded codes, it’s important to also import those same codes back to where you want to use the codes. In this case, Stripe.

If you haven’t already, I would suggest taking a look at our Tips on uploading unique coupon codes and Use uploaded coupons in a message subsections of our Getting started with coupon codes in Klaviyo Help Center article as I think they would be helpful.

David

brewcrewAuthor
Problem Solver I
May 11, 2023

Hi David,

 

Thanks for this. I understand that  I have to upload them into stripe as well. However, I’m not sure how I’d go about setting the expiry date to a certain amount of time after an email send. So for our customer winback flow we’d like to send a discount code that will expire a week after the email is sent.

 

Thanks,

 

Ben

brewcrewAuthor
Problem Solver I
May 23, 2023

Just chasing this one up!

brewcrewAuthor
Problem Solver I
May 25, 2023

@David To :)

David To
Klaviyo Employee
Klaviyo Employee
May 25, 2023

Hey @brewcrew,

When it comes to uploaded coupons, you would only be able to select a specific date they expire on. Only coupons generated through a support ecommerce platform - like Shopify  - will offer you the option of a variable expiration date.

Additionally, variable expiration dates would only be supported in flow messages. Uploaded coupons, similar to unique coupons used in campaigns would need to be generated in advance to accommodate the recipient count. Hence why a variable expiration date wouldn’t be supported for these two options. 

David

brewcrewAuthor
Problem Solver I
May 26, 2023

Ahh ok, we have a custom website and don’t use shopify. Do you have any recommendations on setting up customer winback flows if we can’t set variable expiry times in this way? Ideally we want to give only a certain amount of time for the codes to be used, to be sent, say after a month of their first order. Thanks!

Hey @brewcrew,

When it comes to uploaded coupons, you would only be able to select a specific date they expire on. Only coupons generated through a support ecommerce platform - like Shopify  - will offer you the option of a variable expiration date.

Additionally, variable expiration dates would only be supported in flow messages. Uploaded coupons, similar to unique coupons used in campaigns would need to be generated in advance to accommodate the recipient count. Hence why a variable expiration date wouldn’t be supported for these two options. 

David