Jump to content

credit card payment issue


Recommended Posts

Unusual (and unwanted) behavior from WHMCS, using STRIPE module (but, I guess, it may happen with any other credit card gateway):

  • user has no credit card registered
  • user inserts an "add funds" order for 100 shells, but does not pay it; system issues invoice n. 300 (unpaid)
  •  user inserts another "add funds" order for 100 shells, and pay it using credit card; WHMCS process it fine (100 shells credited to the user, invoice 301 (paid) is issued

So the invoice # 300 stays unpaid...

During the main cron /few hours later, during the night) the system process the payment of (still unpaid) invoice n. 300, using the credit card data used few hours before to pay invoice 301 (the credit card data has been registered by Stripe) 

  And so the user did TWO different payments, of the very same amount (one of them unwanted).

Any idea about how to prevent this behaviour?

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Credit would only be applied to an invoice automatically if the credit was present on their account during the invoice creation itself. If the client created an "Add Funds" invoice and didn't pay it until afterwards, the credit wouldn't be on their account and therefore wouldn't apply to the other invoice automatically.

The simplest option may be to disable the ability to add funds under Configuration > System Settings > General Settings > Invoices tab.

Link to comment
Share on other sites

2 hours ago, WHMCS Lawrence said:

Credit would only be applied to an invoice automatically if the credit was present on their account during the invoice creation itself. If the client created an "Add Funds" invoice and didn't pay it until afterwards, the credit wouldn't be on their account and therefore wouldn't apply to the other invoice automatically.

The simplest option may be to disable the ability to add funds under Configuration > System Settings > General Settings > Invoices tab.

The issue is not about "paying with credit", but about "paying with credit card" ... 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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