Jump to content

GoCardless Payment Status Updates


Recommended Posts

Hi All,

We've activated the GoCardless payment gateway - it connects to our GoCardless account correctly, we can import mandates and it processes a payment request through to the gateway correctly from an invoice in WHMCS.

However the status of the payment is then never updated in WHMCS after that point. The payment moves from Created / Submitted / Confirmed / Paid Out correctly in GoCardless but in WHMCS the Transaction History only updates (eventually) on Paid Out - but it hasn't added a Transaction and the invoice is still showing as Payment Pending. It didn't update when the payment was confirmed - therefore the customers domain (in this case) didn't renew as required. Can someone confirm the expected behaviour and timings for GoCardless.

Thanks

Transactions

Date Payment Method Transaction ID Amount Transaction Fees  
No Records Found

Transaction History

Date Payment Method Transaction ID Status Description
14/02/2020 05:01 Direct Debit xxxxxxxxxxxxxxxxx Pending Automatic Payment Attempt
22/02/2020 07:13 Direct Debit xxxxxxxxxxxxxxxxx paid_out ResERP Ltd. - Invoice #12
Link to comment
Share on other sites

  • 2 weeks later...

Have been having the exact same issue. Customers can successfully setup payment through GoCardless. Takes a while, but the payment is finally taken like a week or so later. Invoice gets updated with the "paid_out" status, however invoice is still stuck at "Payment Pending".

Running latest version of WHMCS (7.9.2).

Have also spoken directly with GoCardless. Said that everything's fine on their end, so not sure exactly what's happening.

Any help would be appreciated.

Link to comment
Share on other sites

I've not yet found a solution to this.

It's an issue as really the invoice should be marked as paid when the moneys are "Confirmed" in GoCardless - however this status update never seems to make it into WHMCS at all.

Eventually it does show as paid_out (same as you're seeing) but that doesn't seem to trigger anything.

Currently I'm having to manually add the payment - which sort of defeats the purpose of the integration.

Link to comment
Share on other sites

You might have more luck if you use this 3rd party Gocardless module rather than the one shipped with WHMCS:

https://in2computing.com/nifty-products/direct-debit-gocardless

It allows you to define when an invoice should be marked as "Paid" in WHMCS - either when it is created, submitted, confirmed or paid out. It sounds like the WHMCS module is only trying to mark invoices as paid when they have been "Paid out" in Gocardless.

There's also a handy feature that allows you to initiate the direct debit x days before the due date which is very handy as it stops invoices from going overdue.

Edited by D9Hosting
Link to comment
Share on other sites

  • 8 months later...
  • 1 month later...

This has been going on for ages since 7.9 for me and I have to manually add a payment on to GoCardless transactions. However it became an issue yesterday because a domain name expired because it not not auto renew because the invoice was still "payment pending" and not "paid". This resulted in the customer being notified that their domain had expired, even though payment had been taken.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 years later...
  • 5 months later...
2 hours ago, CMS911 said:

Anyone find a solution to this yet?

For me, I discovered the IP range that whmcs uses for the callback, was getting blocked in cloudflare, which I use to help prevent ddos attacks.  So, you have to whitelist the IP range in cloudflare, or on your server, to allow the callback requests to complete.  I can't recall the IP range but it's an Amazon AWS range. If you contact whmcs support they will tell you.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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