solidus_paypal_braintree icon indicating copy to clipboard operation
solidus_paypal_braintree copied to clipboard

De-integrate payment methods?

Open mamhoff opened this issue 3 years ago • 2 comments

Solidus has a concept of Payment methods such as "CreditCard", "PayPal" and so on. This gem uses a single payment method for all of these, adding quite bit of complexity to e.g. the payment form when a store has more than just Braintree as a provider. Would you be open for a pull request that creates a Solidus payment method per payment method? So one could imagine instead of having just SolidusPaypalBraintree::Gateway the following three classes:

  • SolidusPaypalBraintree::CreditCard
  • SolidusPaypalBraintree::ApplePay
  • SolidusPaypalBraintree::Paypal

We have patched the gem in one of our projects to provide this. It makes analytics on an SQL level easier as well...

mamhoff avatar Nov 12 '20 15:11 mamhoff