Jump to content
Web Host Pro

The following errors occurred: Stripe error: Remote Transaction Failure. Please Contact Support.

Recommended Posts

When trying to update a card I keep getting this error:

The following errors occurred:

  • Remote Transaction Failure. Please Contact Support.

I have gotten a couple times before. This transaction was an AMEX if that matters.

I'm using the latest stable version of WHMCS and most other payments go through fine. When I check stripe the transaction never makes it to their system because they have never record of it.

Any idea how to trouble shoot this? Maybe an error log with more details somewhere?

Share this post


Link to post
Share on other sites

To eliminate templates as a possible cause, try to do it by accessing a standard template directly.

So add the following to the end of your URL

&systpl=standard_cart

Also, WHMCS built in Stripe module has a problem imo.  I consider it a bug but they apparently do not.

If the default payment method is set to PayPal (I am assuming the same applies to any alternate payment method), then WHMCS tries to save credit card numbers locally instead of on Stripe.  I believe it can also generate errors like what you are seeing because the last 4 digits of the Stripe stored number are saved locally and show up in that change credit card view, however, I do not think it tries to update the remote information when the default payment method is set to something else and then you get that error.

That is not how it worked with the 3rd party ServerPing Stripe module which never had this problem.  This seems to be a PCI compliance issue but WHMCS doesn't seem to think so.  Probably not related to your problem if you have default payment method for the customer set to Stripe. 

Edited by mustardman

Share this post


Link to post
Share on other sites

Not sure if it is related, but I am noticing stripe issues now. When a client updates their card, it deletes the customer on the stripe side.

This can lead to error messages like what you stated.

The work around is to clear the card details in the whmcs admin area, and add them manually. This should create the customer again in stripe.

Its annoying but I am hoping they will fix this. There seems to be a forum post underneath here that is related judging the first line,, but I dont have access to it for some reason, probably because i get WHMCS via a hosting company: https://whmcs.community/files/file/1-module-6487-allow-credit-card-update-with-stripe/

 

Share this post


Link to post
Share on other sites

This happened when a client remove or try to add a new credit card

I also dont have access give me a error

Share this post


Link to post
Share on other sites

/files/ is a test environment at this time which is why you can not answer it, not sure why its showing up in search results, i'll investigate this

In the meantime please continue to use the HotFixes Thread for this where the file is attached

 

Share this post


Link to post
Share on other sites

I did the hot fix but now I get this: Capture Error
The capture was not successful. Please check the gateway log for more details.

------------------------------------------------------------

So I checked the log and it says the card expired. But the card is listed as expired in 2020!

Edited by Web Host Pro

Share this post


Link to post
Share on other sites

Hi, actually it says no such customer: 

Invoice ID => XXXX
User ID => XXXX
Amount => 10.99
UserID => XXX
customer => XXXXX
error => No such customer: XXXXXX

Share this post


Link to post
Share on other sites
On 11/6/2017 at 11:12 PM, WHMCS ChrisD said:

/files/ is a test environment at this time which is why you can not answer it, not sure why its showing up in search results, i'll investigate this

In the meantime please continue to use the HotFixes Thread for this where the file is attached

 

Thanks for this... I am going to keep my eye on this thread and see what turns out to be the issue with @Web Host Pro before I try the hotfix in case it makes it worse...

Share this post


Link to post
Share on other sites

I added the hotfix but it's the same issue. Didn't make it worse though.

It looks like the error now each time is:

Invoice ID => 12345
User ID => 123
Amount => 89.91
No such customer: cus_hyu5g6u7he6 (not the real code, just an example)

No such customer. I manually added the customer with Stripe but that did not help

2.

I noticed the local customer Remote Gateway Token is not the same as what's in Stripe.

I updated the token in phpmyadmin and sent an invoice to see if the customer can pay now. Fingers crossed.

Edited by Web Host Pro

Share this post


Link to post
Share on other sites

I found the fix, I need to manually add the customer in Stripe and add the cart type and customer code in the tbl-clients table for the customer.

:472_dart:

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Similar Content

    • By startover909
      I use the Stripe gateway and standard cart. When the user clicks the "Complete Order" button to submit an order, the mouse cursor changes to the "not-allowed" state during payment processing which is the stop sign looking icon.
      I find this cursor very ugly and unnecessary, because the button is already greyed out once it's clicked to avoid the risk of double submission. During peak hours it is not unusual for a gateway like Stripe to be somewhat slow, so the user often has to stare at that cursor for 3-4 seconds or even more. I don't know if it's Bootstrap, jquery js or stripe.js that changes the button on order submission, but how do I change this behavior? Either make it just the regular cursor or something like the waiting cursor.
      Thanks!
    • By akust0m
      Hi there!
      Just wondering whether this is possible...
      When using the Stripe module, if a client has a credit card token saved, when paying an invoice they are given two options:
      Use existing card Use a new card If they choose to use a new card, the new card details override the existing saved credit card.
      Is there a way to give the client an option to use the new card as a once-off payment and not change the saved card details?
      I've got the following options ticked:
      Disable Credit Card Storage Allow Client CC Removal Thanks!
    • By TheTechLounge
      Hi,
      I'm looking at getting the Stripe Payment gateway setup and have hit an issue with the Card Type field being empty. Any ideas?
    • By neaweb6
      Hello,
      I found myself in quite a mess a few days back which resulted in a complete reinstall of my WHMCS, including setting up a new database. I did the tedious work of importing invoices, logs, and tickets from an sql dump of my old database, as I couldn't import the entire sql file due to some serious errors. I used Stripe as my payment gateway. Is there a way to get my client's stripe tokens back into WHMCS so that they don't have to re-enter their credit card info for their next invoice to process? 
      Sidebar question: If I enable the option to disable credit card storage, will clients have to re-enter their credit card information everytime they want to pay?
    • By frisco
      Merchant account raising their rates, and I am considering migrating to Stripe from merchant account and auth.net.  
      Very interested in recent experience others have had with such a migration.  (FWIW a couple hundred monthly clients, and in our situation, clients don't use WHMCS - it's all done by our own staff.)
      Thanks - Bill
  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines