Plugin no longer working – Cannot split date correctly, Error 30000
-
Hi there,
The plugin for woocommerce fails as the expiryyear field is undefined and we get an Error 30000
This is a JS API post error.
** NOTE I have masked out my credit card number, site ref for security below.
I think the plugin is not correctly picking up and splitting the field by the forward slash /.
there is one field for the card expiry date which in our case read 10/2021
expirymonth: “10/2021” = should be 10
expiryyear: “20undefined” = should be 2021JSON Response Error Details.
{
“requestreference”: “W5-41a73wp5”,
“version”: “1.00”,
“response”: [
{
“errorcode”: “30000”,
“requesttypedescription”: “ERROR”,
“transactionstartedtimestamp”: “2019-01-29 14:26:04”,
“errormessage”: “Invalid field”,
“errordata”: [
“expirymonth”,
“expiryyear”
]
}
],
“secrand”: “eEvgM64zY2hIm4z”
}Posted data:
{version: “1.00”,…}
request: [{requestid: “J-2h91imf7”, sitereference: “siteref”, pan: “xxxx xxxx xxxx xxxx”,…}]
0: {requestid: “J-2h91imf7”, sitereference: “siteref”, pan: “xxxx xxxx xxxx xxxx”,…}
expirymonth: “10/2021”
expiryyear: “20undefined”
pan: “xxxx xxxx xxxx xxxx”
requestid: “J-2h91imf7”
requesttypedescription: “CACHETOKENISE”
securitycode: “XXX”
sitereference: “siteref”
version: “1.00”
versioninfo: “STJS::N/A::1.0.9::N/A”Thanks
Andi
The page I need help with: [log in to see the link]
- The topic ‘Plugin no longer working – Cannot split date correctly, Error 30000’ is closed to new replies.