Does anyone have any input into how to add different payment options to an ecommerce system? I am considering right now building an ecommerce app with the frontend as ReactJS and the backend as Yii2.
-
Plan a common interface.
-
Implement driver for each payment system after the interface planned.
If you want to avoid doing everything yourself, check http://omnipay.thephpleague.com/