curacaowebhosting Posted October 11, 2016 Share Posted October 11, 2016 I have written a payment module for the PSP we are using however part of the requirement is that his method only be used for whitelisted customers. So I am thinking of doing the following: 1. Create a group called whitelist or provide a list of accepted id's in the payment form. 2. In the payment option, if the user belongs to the whitelist group, show the payment option, if not, hide it. The critical part is show or hide the payment module... Is this possible to do from a module? If not, then all I am currently doing is setting the "return $htmlOutput;" to empty which removes the option to click "Pay Now" from the invoice. Any ideas as to a best method on how to do this? 0 Quote Link to comment Share on other sites More sharing options...
Tapeix Posted October 11, 2016 Share Posted October 11, 2016 Take a look at Sourceway. They have an Haddon available that fits your needs. I'm using it myself too. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.