Paypal return error : malformed
Problem:
Hi,
I am using payapl gateway for payment in my project.
It is working fine for sandbox(test account) but no working for paypal (original paypal detail on client server);
It return following errror from paypal
Array
(
[Error] => Array
(
[Number] => malformed
)
)
Solution: When you are sending amount(money) in paypal api, Amount must be upto 2 digit decimal places.
For Example
100.02 (Valid)
22.32 (Valid)
12.254 (invalid)
Problem:
Hi,
I am using payapl gateway for payment in my project.
It is working fine for sandbox(test account) but no working for paypal (original paypal detail on client server);
It return following errror from paypal
Array
(
[Error] => Array
(
[Number] => malformed
)
)
Solution: When you are sending amount(money) in paypal api, Amount must be upto 2 digit decimal places.
For Example
100.02 (Valid)
22.32 (Valid)
12.254 (invalid)