Score:0

More than one payment option for each plugin

br flag

I'm trying to build a custom gateway module for a payment provider that provides 3 methods of payment. I was following the documentation and building 1 gateway plugin for each method of payment however I found out that the payment provider only communicates notifications to a single URL (IPNs). From my understanding each gateway plugin has its own endpoint that the provider can use to communicate notifications. We then implement the onNotify() method and do the business logic. How can one proceed in this case? I have 3 payment types that correspond to 3 endpoints however the provider only accepts communicating to a single URL instead of one for each method of payment. It's like I can only have 1 gateway plugin but several methods of payment somehow. Any ideas?

Thanks in advance

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.