Jump to content

How to limit a customer just to a single payment method?

Recommended Posts

It may happen that you need to restrict a customer to use just a payment method (i.e. only wire transfer, not allowing him to pay using credit card or PayPal...)

WHMCS "off the shelf" seems not be able to limit it: a user is always able to choose between all the available and supported payment methods... 

Any trick about it?


Share this post

Link to post
Share on other sites

Use InvoiceChangeGateway hook point. As soon as the gateway changes run:

UPDATE tblinvoices SET paymentmethod = '{PAYMENT}' WHERE id = {INVOICE_ID} LIMIT 1


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated