-
Notifications
You must be signed in to change notification settings - Fork 83
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
Separate Stripe payment into a feature so it can be disabled if other payment provider is desired. (OCC-63) #149
Comments
I'm working on a project that uses a sort of eCommerce, I agree to separate Stripe payment but not as a feature. It could be as the following:
This way it will be much flexible and extensible |
It would be important to be able to disable unused payment implementations. For example if we have Stripe for production and a dummy payment processor for UI testing. I suggested using features because that seems like a natural fit for this purpose in OC. Do you have something else in mind? |
In another scenario, some websites might support multiple gateway providers |
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
At the end each module has a default feature which you can enable or disable, but I'd prefer creating modules instead of adding the payment providers into a single one |
This won't be urgent until we have other payment providers. If someone needs it soon because you already have your own payment implementation, please comment on this issue.
~/cart
's Checkout button with a Checkout with {providerName} button so it's locked down in the order form. Then only display the correct form for that processor.IPaymentProvider
andIPayment
interfaces.Order
content item to the recipe, whose payment info references this provider.OrderPart
.Also create a unit test of the basic purchase flow using the dummy payment processor.
If #155 is resolved, then also set the addresses, and verify that they are valid as well.
Jira issue
The text was updated successfully, but these errors were encountered: