craftcms / commerce-paypal-checkout

PayPal Checkout gateway for Craft Commerce.
https://plugins.craftcms.com/commerce-paypal-checkout
MIT License
5 stars 10 forks source link

One-click checkout #50

Open KasimMahroof opened 2 years ago

KasimMahroof commented 2 years ago

What are you trying to do? I am trying to implement one-click checkout into a Craft Commerce site.

From looking at the source code, it seems like this is not possible.

Ideally, users would be able to visit a product page for the first time and be able to checkout immediately.

Currently, this plugin sends over the entire cart and requires some prerequisite information (e.g. email.)

What's your proposed solution? Unfortunately, I am not the most familiar with Craft Commerce. The project I am working on is the first Craft Commerce site my team has built.

I would like to know if what I want is possible to achieve without writing a complex, custom solution.

Thanks

nfourtythree commented 2 years ago

Hi @KasimMahroof

Thank you for your message. At the moment this plugin is focused on being a payment gateway integration, meaning that the checkout process is handled by Commerce and payment deferred to PayPal.

We are going to look into deeper integration with PayPal's features in the future, and with that, we will look at the options for making one-click checkout possible.

At the moment to get it to work you would be required to write custom code with JS and PHP in a custom module.

Thanks!