Feature Requests
Share ideas, discuss and vote on requests from other users in community

Stripe support for AddPayMethod API

socheaphost shared this idea 1 month ago

Currently, AddPayMethod is broken for Stripe. We can't add Stripe payment method using API. So requesting to add support for Stripe.

More information: https://whmcs.community/topic/298032-api-addpaymethod-is-broken/

Comments (1)


Hi there,

Thanks for this suggestion.

Unfortunately it won't be possible to pass the credit card details to Stripe via the API; this means that the Stripe-hosted Elements forms cannot be used. Sending the card details via the API mean they touch your server , requiring a different Stripe API with increased PCI compliance requirements.

Clients must use the payment forms in the UI to pass the details via the Stripe Element fields.