I am creating a payment gateway for woocommerce. So far, I have been successful in creating the gateway.
The issue I have is that the gateway I am using allows multiple payment options like CREDIT, DEBIT, Net Banking, EMI, etc and I need to pass the payment type to the gateway.
Since this would be selected by the end-user at checkout, how can I make my payment gateway allow end-user selected options.
I would like to simply display a dropdown at checkout before doing any processing and make payment gateway plugin work based the selected value.
Only feasible way I can find is to make multiple gateway plugins with slight changes. But don’t you think that would be too much and there must be a simpler way to add this functionality.
- The topic ‘User Defined Options In Payment Gateway’ is closed to new replies.