Skip to main content

Shopify <> Cardivo gift card integration guide

Let your customers redeem Cardivo gift cards on your Shopify store with a two way sync between Cardivo and Shopify's native gift cards.

Roohbir Singh avatar
Written by Roohbir Singh
Updated over 2 weeks ago

Cardivo offers a 2 way sync with Shopify that allows you to sell your gift cards via Cardivo and allow redemption on any channel, including your Shopify stores. This ensures your gift cards work perfectly with Shopify but are also completely independent of it. This is also useful if you have a mix of redemption channels and Shopify is one of them.

This integration works by syncing Cardivo gift card numbers and balances with Shopify's native gift card functionality. This also keeps balances in sync at all times when a gift card is redeemed via your Shopify store, manually in Cardivo or via any other redemption channel you use. Takes under 10 minutes to set up.

You can see this in action by buying yourself a demo gift card on Cardivo first, then redeeming it on our demo Shopify store. You'll see the gift card balance and redemption information update on your gift card page that is emailed to you.

Steps to connect your Shopify store to your Cardivo account

  1. Log in to your Shopify store's admin area as an administrator.

  2. On the menu on the left, click "Apps"

    <a href="https://slite.com/api/files/Hl511Pu1-cQ5at/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4" target="_blank" rel="nofollow noopener noreferrer">https://slite.com/api/files/Hl511Pu1-cQ5at/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4</a>

  3. This will open an App search menu. At the bottom of this search box, click on App and sales channel settings

  4. Click on "Develop apps"


  5. Then "Allow custom app development"

    <a href="https://slite.com/api/files/T7R69qLPtakHrK/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4" target="_blank" rel="nofollow noopener noreferrer">https://slite.com/api/files/T7R69qLPtakHrK/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4</a>

  6. If it asks for a second confirmation, click "Allow custom app development" again

  7. Click "Create an app"

    <a href="https://slite.com/api/files/jzg1-Ppl2_QuOM/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4" target="_blank" rel="nofollow noopener noreferrer">https://slite.com/api/files/jzg1-Ppl2_QuOM/image.png?apiToken=eyJhbGciOiJIUzI1NiIsImtpZCI6IjIwMjMtMDUtMDQifQ.eyJzY29wZSI6Im5vdGUtZXhwb3J0IiwibmlkIjoiWkh1bTQ0ZUdXcm5yUmsiLCJpYXQiOjE3NDY0MjA0NDYsImlzcyI6Imh0dHBzOi8vc2xpdGUuY29tIiwianRpIjoib185QWpSNXVsYi1Mem8iLCJleHAiOjE3NDkwMTI0NDZ9.QQKKynWstdrjmc9q13XqR5ahjW0GYdj0nU0Blh7qSl4</a>

  8. For your app name, you can add anything like "Cardivo Digital Gift Cards".
    For the "App developer" you can choose yourself or anyone else on your team.

  9. After creating the app, click on "Configure Admin API scopes"

  10. Then search for and select these 5 scopes listed below. This step provides the Cardivo app limited access to your Shopify transactions. To get the information we need to accurately sync your data, the app requires the following five permissions only.

    Gift cards

    write_gift_cards

    read_gift_cards

    Gift card transactions

    write_gift_card_transactions

    read_gift_card_transactions

    Orders

    read_orders


    You can revoke these permissions any time in the future if you stop using Cardivo.

  11. Click Save

  12. Now, switch to the API credentials tab and click Install app

  13. If you get a confirmation pop-up, click "Install". This just confirms the permissions Cardivo can access on your store.


  14. Click on "Reveal token once" under the "Admin API access token" heading and copy it – you'll need to paste this into your Cardivo settings.

  15. Don't close your Shopify dashboard. We'll come back to it and copy one other value in a few steps.

  16. Sign up or log in to your Cardivo account

  17. Go to settings > integrations and scroll down to Shopify

  18. Switch the Shopify setting toggle to ON

  19. In the second field called "Admin API access token" paste in the value you copied from your Shopify store

  20. In a separate tab, without refreshing or closing the Cardivo settings page, go back to your Shopify store and Choose domains on the left hand side menu. There, you will see a url that ends in .myshopify.com – copy that (not your store's main url that customers see)

    You might need to click on it, then select it on the next page

  21. Now switch back to Cardivo and paste in your store's myshopify.com link into the first field and click "Save info".

And you're done! 🙌 🎉 Your gift cards will now sync between Cardivo and Shopify and can be redeemed via either platform.

If you have existing gift cards, they will automatically sync, as will any new ones. Customers can now enter them in the Gift card field that will become visible on your Shopify checkout once you have at least one gift card in your Cardivo account:

The field will either say just "Gift card" or "Discount code or gift card", or even just "Discount code" until you have a gift card in your account.


Redeemed gift cards will show on the order confirmation page for customers.


The gift card redemption information and balance, if any, will automatically update in Cardivo.


If you have questions or get stuck anywhere, just reach out to us via the chat icon or email [email protected] and we'll help you get set up.

Did this answer your question?