Solution for Oscommerce PayPal Express Checkout ERRORCODE: 10736

Question:How to solve Oscommerce PayPal Express Checkout ERRORCODE: 10736?
ERROR:
TIMESTAMP: 2010-01-13T08:34:06Z
ACK: FAILURE
SHORTMESSAGE: SHIPPING ADDRESS INVALID CITY STATE POSTAL CODE
LONGMESSAGE: A MATCH OF THE SHIPPING ADDRESS CITY, STATE, AND POSTAL CODE FAILED.
ERRORCODE: 10736

Answer:
it solved to change into ppeb.php file
find:

"<Address>".

change to:

"<ShipToAddress>".

find:

"</Address>".

change to:

"</ShipToAddress>".

Complete code before and after

Before:

$msg .="<cpp-header-image>".$url."/ppec/ppec_image/".LOGO."</cpp-header-image>".
"<cpp-header-border-color>"."</cpp-header-border-color>".
"<cpp-header-back-color>"."</cpp-header-back-color>".
"<cpp-payflow-color>"."</cpp-payflow-color>".
"<PaymentAction>"."Sale"."</PaymentAction>".
"<Address>".
"<Name>".$SHIPTONAME."</Name>".
"<Street1>".$SHIPTOSTREET."</Street1>".
"<Street2>".$SHIPTOSTREET2."</Street2>".
"<CityName>".$SHIPTOCITY."</CityName>".
"<StateOrProvince>".$SHIPTOSTATE."</StateOrProvince>".
"<PostalCode>".$SHIPTOZIP."</PostalCode>".
"<Country>".$SHIPTOCOUNTRYCODE."</Country>".
"</Address>".
"<SolutionType>"."Sole"."</SolutionType>".
"<LandingPage>"."Billing"."</LandingPage>".
"</SetExpressCheckoutRequestDetails>".
"</SetExpressCheckoutRequest>".
"</SetExpressCheckoutReq>".
"</soap:Body>".
"</soap:Envelope>";

After:

$msg .="<cpp-header-image>".$url."/ppec/ppec_image/".LOGO."</cpp-header-image>".
"<cpp-header-border-color>"."</cpp-header-border-color>".
"<cpp-header-back-color>"."</cpp-header-back-color>".
"<cpp-payflow-color>"."</cpp-payflow-color>".
"<PaymentAction>"."Sale"."</PaymentAction>".
"<ShipToAddress>".
"<Name>".$SHIPTONAME."</Name>".
"<Street1>".$SHIPTOSTREET."</Street1>".
"<Street2>".$SHIPTOSTREET2."</Street2>".
"<CityName>".$SHIPTOCITY."</CityName>".
"<StateOrProvince>".$SHIPTOSTATE."</StateOrProvince>".
"<PostalCode>".$SHIPTOZIP."</PostalCode>".
"<Country>".$SHIPTOCOUNTRYCODE."</Country>".
"</ShipToAddress>".
"<SolutionType>"."Sole"."</SolutionType>".
"<LandingPage>"."Billing"."</LandingPage>".
"</SetExpressCheckoutRequestDetails>".
"</SetExpressCheckoutRequest>".
"</SetExpressCheckoutReq>".
"</soap:Body>".
"</soap:Envelope>";

Now paypal Express checkout working fine…..

Advertisements

Speak Your Mind

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: