question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support instant checkouts for "buy now"

See original GitHub issue

What I’m trying to achieve

I have a scenario where the storefront supports adding to cart and also a “buy now” option. Since there is no cart system in saleor, I have adapted to use the checkout as a cart. When using checkoutCreate, each user is limited to only one open checkout at a time. Meaning that a new checkout cannot be created for the “buy now” while the user has items in their cart.

Describe a proposed solution

The current design does make sense for most common use cases, and is quite convenient for cart systems. But having the option to create an instant disposable checkout would be a big help.

Other solutions I’ve tried and won’t work

One possible hack I can use is to back up the user’s existing checkout (cart) as metadata, freeing up the checkout to be used for the buy now. Once completed, the cart can be restored. This would have some pitfalls and drawbacks, but should be possible.

Edit: Oh looks like there’s a related issue #5116

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
khalibloocommented, Feb 3, 2020

@gsoec thank you very much. I’m sure it’ll be very helpful.

2reactions
gsoeccommented, Jan 30, 2020

@khalibloo I created a PR #5215, only tested in development environment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Instant Checkout ‑ Buy button - Shopify App Store
Instant Checkout adds Buy Now button on PDP. Fast Checkout, Boost Sales with bypass Cart page. The app will add an Animated "Buy...
Read more >
Stripe Checkout: We built Checkout so you don't have to
Let your customers breeze through the checkout by making it easy for them to input and reuse their payment information and by helping...
Read more >
Express checkouts: 3 ways to pay in one click - Adyen
Like the express payment methods above, the customer can pay almost instantly by clicking the express checkout button. The customer needs to ...
Read more >
Bolt: One-Click Checkout & CheckoutOS
Seamless checkout powered by a network of shoppers. Bolt's one-click checkout boosts sales and conversions by narrowing the gap between browsing and buying....
Read more >
Buy Now Ordering - Amazon Customer Service
Buy Now is an express purchase option that lets you review and change details, such as payment method and delivery speed, before placing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found