gil-- / gatsby-starter-shopifypwa

๐Ÿ’š:shopping_cart:๐Ÿ’š Bodega is a Shopify PWA using Gatsby JS + Netlify CMS
https://bodega.netlify.com
MIT License
103 stars 9 forks source link

Checkout #27

Open gil-- opened 5 years ago

gil-- commented 5 years ago
PolGuixe commented 5 years ago

Would it be possible to create a custom checkout ? i.e. not being redirected to the Shopify checkout?

waywardm commented 5 years ago

Iโ€™ve seen some examples where people set up a sub domain ie checkout.yourdomain.com so you go from yourdomain.com to checkout.yourdomain.com looks a bit cleaner than shopify url

Regards

Paul Kidd

Thunderfix


From: PolGuixe notifications@github.com Sent: Wednesday, June 12, 2019 10:57:56 PM To: gil--/gatsby-starter-shopifypwa Cc: Subscribed Subject: Re: [gil--/gatsby-starter-shopifypwa] Checkout (#27)

Would it be possible to create a custom checkout ? i.e. not being redirected to the Shopify checkout?

โ€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gil--/gatsby-starter-shopifypwa/issues/27?email_source=notifications&email_token=AC7LM6QMJFMI3NH5XQ5ODO3P2FWOJA5CNFSM4FXHNJZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXR5H5A#issuecomment-501470196, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC7LM6QVJBYJA7MAQK25MMDP2FWOJANCNFSM4FXHNJZA.

PolGuixe commented 5 years ago

๐Ÿ‘Œ @waywardm ok I see. So basically we are forced to use the Shopify checkout.

waywardm commented 5 years ago

this is not my repo however I do not think there is an alternative method to use

Regards

Paul Kidd

Thunderfix


From: PolGuixe notifications@github.com Sent: Thursday, June 13, 2019 9:40:38 AM To: gil--/gatsby-starter-shopifypwa Cc: Thunderfix; Mention Subject: Re: [gil--/gatsby-starter-shopifypwa] Checkout (#27)

๐Ÿ‘Œ @waywardmhttps://github.com/waywardm ok I see. So basically we are forced to use the Shopify checkout.

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/gil--/gatsby-starter-shopifypwa/issues/27?email_source=notifications&email_token=AC7LM6S5PWZFG5JMCGPBZJLP2IBYNA5CNFSM4FXHNJZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXS7ADI#issuecomment-501608461, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC7LM6TALPML6G2F5JZ2UVLP2IBYNANCNFSM4FXHNJZA.

gil-- commented 5 years ago

I think itโ€™s only possible for maybe ApplePay? See checkoutcompletewithtokenizedpaymentv2 which uses the tokenizedpaymentinputv2 to complete the checkout process bypassing the Shopify checkout.

PWAs on mobile now open external sites within a webview pop up like twitter so itโ€™s at least not as bad as it was when I released this repo. Iโ€™ll see if I can maybe update this proof of concept repo later this summer with some updates APIs that are being released for checkout.

See https://developers.shopify.com/changelog/storefront-api-updates-metafields-scripts-and-more where they state itโ€™s only for ApplePay and other payment methods are restricted to public apps approved.