Anyone know if this is possible? I'm thinking I could introduce a dropdown menu to users and to admins under the product where they can select a credit card to use for automatic payments instead of the default.
Unfortunately, I don't see a hook anywhere in the docs that I could use to swap out which card ID to use before processing with the gateway.
I'm wanting to get this to work for Stripe but I imagine it would be a similar process for other gateways.
--
There's a bunch of people asking for this and there appears to be one addon that comes close but the addon is actually payment gateways per product and not the payment methods (cards). I'd be happy to build this addon but I'm not familiar enough with WHMCS to see where I could hook in to override the card being used for automatic payments.
Question
TNMChris
Anyone know if this is possible? I'm thinking I could introduce a dropdown menu to users and to admins under the product where they can select a credit card to use for automatic payments instead of the default.
Unfortunately, I don't see a hook anywhere in the docs that I could use to swap out which card ID to use before processing with the gateway.
I'm wanting to get this to work for Stripe but I imagine it would be a similar process for other gateways.
--
There's a bunch of people asking for this and there appears to be one addon that comes close but the addon is actually payment gateways per product and not the payment methods (cards). I'd be happy to build this addon but I'm not familiar enough with WHMCS to see where I could hook in to override the card being used for automatic payments.
Link to comment
Share on other sites
1 answer to this question
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.