Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gift-card syncing with Shopify / Solidus #40

Open
thisiscab opened this issue Sep 27, 2016 · 1 comment
Open

Gift-card syncing with Shopify / Solidus #40

thisiscab opened this issue Sep 27, 2016 · 1 comment
Assignees
Labels

Comments

@thisiscab
Copy link
Contributor

I am unsure if the modifications required should belong in this gem or directly in the Host app, but let's write the implementation details here first.

The context is that we want customers to be able to buy gift-card on a Solidus Shop and allow that gift-card to be used on a Shopify Retail store.

The implementation we were thinking of is that:

  • When we create a gift-card on Solidus we'll create one in Shopify.
    • The return value of the created Shopify will contain the gift-card code that we will use as the Solidus gift-card code
    • One problem that we'll have to solve is that in order to create a Shopify Gift-Card we need to assign it to an order or a user, so we'll have to create dummy order and make sure that we are not importing those orders to Solidus.
  • If the gift-card gets used on Solidus, we nullify it on Shopify.

Please edit this message in order to add more steps / details

@thisiscab thisiscab self-assigned this Sep 27, 2016
@thisiscab
Copy link
Contributor Author

cc: @braidn @bryanmtl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant