You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing this issue and am not able to fix it. can you guys please suggest me why is it showing error. This code creates Customer profile ID, Payment Profile ID and saving address successfully but when i make transaction it give error. Please help me. Thanks
The problem here is the way that values are returned out of a simpleXML element. Reading a parameter such as "$response->xml->customerProfileId" still returns a simpleXML element by default, but the $transaction->customerProfileId is looking for a string.
The resolution to this is simply to cast these particular XML elements as strings. You could do this either when reading them from the XML or when entering them into the transaction object. Personally, I would recommend doing it when you read them out of the XML. It would just be a simple change as shown in the three lines below:
Hello Team,
My Code:
Error -
[code] => E00003
[text] => Name cannot begin with the '0' character, hexadecimal value 0x30. Line 2, position 291.
The text was updated successfully, but these errors were encountered: