Jump to content
slim

Soap error in WHMCS when using eWay Token module

Recommended Posts

Today I started getting OPPS errors in WHMCS when trying to process customers cards.

Whoops\Exception\ErrorException: SOAP-ERROR: Encoding: object has no 'IsActive' property in /home/account/public_html/modules/gateways/ewaytokens.php:0
Stack trace:
#0 /home/account/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'SOAP-ERROR: Enc...', '/home/account/p...', 0)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

This module and install of whmcs (7.5.1) has been working fine for as long as I can remember. 

cpanel did update to 72 recently, so may be the cause, i just dont know what to do to fix.. Any ideas?

 

Share this post


Link to post
Share on other sites

WHMCS support = zero help..

eWay have confirmed they are getting calls from multiple merchants about this and have put their dev team to work on it. Hoping someone at WHMCS can collaborate with them and get it sorted.

Share this post


Link to post
Share on other sites
Posted (edited)

More on this issue.. It seems the current version of WHMCS talks to eWays legacy token gateway.  (this seems to contradict the documentation here: https://docs.whmcs.com/EWAY_Rapid_3.1

Something has changed, and its stopped WHMCS from working with eWay.  eWay support said they are looking at it their end and if necessary will communicate with WHMCS - meanwhile all users of the current version of WHMCS cant process cards.

Edited by slim

Share this post


Link to post
Share on other sites

@slim When roughly did this begin and are you running 7.5.x? 

Do you see anything in Billing > Gateway Logs

Share this post


Link to post
Share on other sites

Hi - In the gateway log I get: SOAP-ERROR: Encoding: object has no 'IsActive' property

Share this post


Link to post
Share on other sites

And yes, running 7.5.1 - latest WHMCS 

Share this post


Link to post
Share on other sites

Yes we have noticed the same issue overnight.

Eway module appears to process via client area ok but admin and cron jobs fail with error "SOAP-ERROR: Encoding: object has no 'IsActive' property"

Interested in thoughts around this?

Share this post


Link to post
Share on other sites

Its an eWay issue relating to a deployment they did to their gateway, breaking the WHMCS integration. They are apparently going to do another deployment in the next 'few days' to fix it.. Meanwhile, we cant process transactions. Not WHMCS's fault - thou someone should look into this 'IsActive' field and ensure WHMCS is treating it as per the Rapid API docs.

Share this post


Link to post
Share on other sites

Yes just discovered the same from EWAY. 
Payments seem to process from the client area in a pinch.

That's going to be awkward though.

Share this post


Link to post
Share on other sites

EWAY have confirmed they will be rolling out a fix tomorrow morning. Not sure on the timing thou.

Basically, they screwed up and are going to fix.

  • Like 2

Share this post


Link to post
Share on other sites

Hi all,

We do have an internal case open with our Development Team to have this reviewed for future releases. The case ID is #MODULE-6783. Until recently, it was not necessary to explicitly define the "IsActive" property in the API call.

Although our development team are working on this, I'd be interested to know if EWAY do in fact roll out a fix for this so that I can update our internal case.

@slim - Thanks for reaching out to EWAY! Once you have confirmation that the EWAY fix has been pushed, could you please test processing a payment from the Admin Area and let us know if it's working again for you. I can then do some internal testing.

Keep an eye on those change logs over at https://changelog.whmcs.com for the case ID to see when we've rolled out our own fix to this issue.

If you all have any questions, feel free to get in touch with us via a Support Ticket.

Best Regards,

Peter

 

Share this post


Link to post
Share on other sites

Peter, not sure what your case is about, but it’s unrelated to the current issue that has only been in existence for 48 hours. eWAY obviously rolled out a change to production servers which complexity broke the existing integration. Cron payments as well as admin area captures are currently broke.

WHMCS and eWAY need the communicate directly regarding the sub par module - including clarifying this ‘is active’ property AND the other issues with this module that I have previously documented. The most important of which is not being able to store a card number (create token) without there being a due invoice to pay. This is so insane it would be funny if it wasn’t true.

Share this post


Link to post
Share on other sites

Hi @slim,

Thanks very much for your assistance with the updates from eWay support. I'll continue to monitor the situation and update our case if eWay's changes do resolve this matter. Your feedback in confirming this will be much appreciated.

Should the error persist, rest assured that our internal case is still being worked on.

Best Regards,

Peter

 

Share this post


Link to post
Share on other sites

eWay have rolled out a fix to their production environment.

However I'm not sure if they still want WHMCS to change something in the module or not. I have asked them to take a look at this community topic and then to communicate with WHMCS. 

Bottom line, this shouldn't have happened. It broke our CRON and our admin area ability to process cards for several days.

Share this post


Link to post
Share on other sites

Hi all,

We've heard back from eWay who have confirmed there was an update to the Rapid API which affected some merchants processing Token Payments on Thursday the 5th of July.

The issue was quickly identified by the eWAY IT team, and a fix was deployed the following day (6th of July).

eWay have not recommended any changes to our code at this time.

 

Share this post


Link to post
Share on other sites

Thanks - it’s good to hear there was some follow up.

would it be possible to improve this module as soon as possible with the following:

 

1. Make it possible for a client to store their card (create token) from within their client area without having to pay an invoice. Currently this isn’t possible and very frustrating.

 

2. Update the card entry UI on payment page - of a user enters a card with spaces the transaction fails, but not gracefully. They are not even given an error. It’s quite a poor integration given the size of eWAY, and the fact that WHMCS is a billing system. These two things would improve it.

Share this post


Link to post
Share on other sites

We are always open to ideas for changes and improvements to our software. For these items, I'd recommend using our feature request system at https://requests.whmcs.com/ to submit your ideas.

Any ideas submitted there will be reviewed by our development team and considered for inclusion in a future release!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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