Jump to content

SagePay Token payments Malformed


sensedavid

Recommended Posts

Hi,

 

Just wondered if anyone else is having problems accepting payments via SagePay Token after 5.2.2 update today?

 

Customers are told when making a payment - "Remote Transaction Failure. Please Contact Support." error to customer.

 

Live SagePay control panel says "Either an INVALID or MALFORMED response was returned. " delivery and cardholder addresses are blank. I believe cardholder address should be submitted to Sage normally

 

Thanks

David

Link to comment
Share on other sites

Hi,

 

I've been testing an updated module provided by Matt, this is working bar the removal of the token if a customer wishes to remove their card details, selects to not store them or we as admin remove them.

 

I have a support case logged with SagePay for this as the correct details are being passed by the module but for some reason it is returning an error that the token was not created by our vendor name.

 

Hopefully they'll have some answers on this so Matt can push the new module soon.

Link to comment
Share on other sites

  • 3 months later...

Hi all,

 

I experienced a problem today with v5.2.5, when I tried paying an invoice as our test client. I chose the option not to store the card details, and I got the following response in the gateway log:

 

SagePay Tokens 3DAuth

VPSProtocol => 2.23

Status => MALFORMED

StatusDetail => 3051 : The CardNumber field is required.

 

Credit/Debit Card Remote Storage

VPSProtocol => 2.23

TxType => TOKEN

Status => MALFORMED

StatusDetail => 3051 : The CardNumber field is required.

 

But when I allowed WHMCS to store the card details, the transaction worked OK.

 

So if anyone else experiences the same issue, the fix is to go into Setup, General Settings, Security and untick the box next to "Allow Client CC Removal".

 

If you want to allow clients to make single payments by card, I guess the solution is to set up one of the other SagePay payment gateways as well.

 

Hope this is helpful to someone.

 

Cheers,

Steve

Link to comment
Share on other sites

Hi,

 

With the token module it only stores the token, last 4 digits, expiry date. I believe it also stored the start date and issue number if you have those enabled.

 

If you select to not store card details even though this module is not actually storing them then WHMCS will not store the token details.

 

If you allow clients to remove their card details it will remove the token both in WHMCS and from the sagepay servers.

 

@SteveTalbot I believe the errors you were getting is due to the legacy code in the token module to convert from the old none token gateway to a token - though I have advised Matt this will not work and have sent them an updated module with a number of fixes - not sure they will use the updated module in the next release or provide it to anyone else.

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