vinsol / nectarcommerce

Quest for customizable E-commerce - the Elixir way
323 stars 53 forks source link

generalize the payment authorization method dispatch #66

Closed nimish-mehta closed 8 years ago

nimish-mehta commented 8 years ago

Instead of using hardcoded one pattern per payment method, use a convention based method dispatch bridging the calls between nectar and payment provider. This allows adding new methods for payment without modifying the gateways.ex file and adding more matches.