Is there a way to have Zen Cart store the API request and response in a way that would make sence to PayPal. They just want the raw request and response as sent over the internet.
Is there a way to have Zen Cart store the API request and response in a way that would make sence to PayPal. They just want the raw request and response as sent over the internet.
PayPal sais it was sent the following
ITEMAMT 1\,037.92
PayPal sais the slash caused an api error 10413
If you have the PayPal Debug Log-to-File option enabled, then in your paypal logs folder you'll see PayPal_CURL_xxxxxxx.log files generated. There are three per Express Checkout transaction: SetExpressCheckout, GetExpressCheckoutDetails, and DoExpressCheckoutPayment. Those log files contain the data that was sent to PayPal, and the response back.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
If I sent the following to PayPay would they not point out it could not have been the actual data because of the number of space characters? Or is it the actual data exactly as sent or received?
_request - breakpoint 2.5 - postfields: ITEMAMT=1,037.92&SHIPPINGAMT=11.19&TAXAMT=0.00&AMT=1.00&L_NUMBER0=Ultralife U9VL-J&L_QTY0=192&L_NAME0=Ultralife U9VL-J - 9V Aluminum jacket - Lithium&L_AMT0=5.35&L_TAXAMT0=0.00&L_NUMBER1=Energizer A544BP&L_QTY1=4&L_NAME1=Energizer A544 - 6 Volt, 150 mAh - Alkaline (1 Pack)&L_AMT1=2.68&L_TAXAMT1=0.00.....................
Um ... there's obviously a lot more history behind whatever problem you're trying to troubleshoot with them than what you've shared here.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yea, I was sure it was not going to be a Zen Cart issue. But its looking like it is so here goes. The error was a 10413. And the names and values show why.
ITEMAMT=1,037.92
SHIPPINGAMT=11.19
TAXAMT=0.00
AMT=1.00
ITEMAMT+SHIPPINGAMT+TAXAMT needs to be equal to AMT.