close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout error

Thread began 4/04/2011 4:41 pm by shauqie | Last modified 4/07/2011 9:35 am by Jason Byrnes | 1679 views | 7 replies |

shauqie

Checkout error

Anyone knows why I got an error when I used Paypal payments pro as my payment gateway. But when i tested it using paypal sandbox everything went right.

Sign in to reply to this post

Jason ByrnesWebAssist

when you test using the live server you need to also use a different set of API Credentials.

When moving from the paypal sandbox, you need to request API Credentials for the live server. If you use the sandbox API credentials, paypal will not except the transaction.

Sign in to reply to this post

shauqie

I knew that. But the problem is I used API Credentials but getting error when using paypal payments pro. But when I used paypal express Checkout, everything went well.
I want to use payments pro checkout.

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the checkout failure page to write the full request and full response from the gateway to help determine the cause of the failure.

php:
<?php

if(!session_id()) session_start(); 

     echo 
"<p>Direct Pay: <br />"
     echo 
"Full Request: ".(isset($_SESSION["PP_DirectPayment_postedValues"])?htmlentities($_SESSION["PP_DirectPayment_postedValues"]):"n/a")."<br />";  
     echo 
"Full Response: ".(isset($_SESSION["PP_DirectPayment"])?htmlentities($_SESSION["PP_DirectPayment"]):"n/a")."<br /></p>";  
     echo 
"<p>Express Authorize <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Auth_Request"])?htmlentities($_SESSION["ECO_Auth_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Auth_Result"])?htmlentities($_SESSION["ECO_Auth_Result"]):"n/a")."<br />"
     echo 
"<p>Express Process: <br />"
     echo 
"Full Request: ".(isset($_SESSION["ECO_Process_Request"])?htmlentities($_SESSION["ECO_Process_Request"]):"n/a")."<br />"
     echo 
"Full Response: ".(isset($_SESSION["ECO_Process_Result"])?htmlentities($_SESSION["ECO_Process_Result"]):"n/a")."<br /></p>"
?>
Sign in to reply to this post

shauqie

Ok here is the error after i adding the code at checkout_failure.php

array(45) { ["WAVT_ProductsResults_Errors"]=> &string(0) "" ["WADbSearch1_Products_Results"]=> &string(89) " WHERE ProductID IN (SELECT ProductID FROM ps3_productcategories WHERE (CategoryID = 27))" ["WADbSearch1_Products_Cat"]=> &int(27) ["WA_Store_Cart_Items"]=> &string(233) "3552|WAECART|test|WAECART|

fdsfdsgf
|WAECART|0.01|WAECART|1|WAECART|1|WAECART|IMG00174-20110322-1026_1.jpg|WAECART|242|WAECART||WAECART|0|WAECART|0|WAECART|0.01|WAECART|1|WAECART|1 test (3552)|WAECART|0|WAECART|1|WAECART|0" ["WAEC_ContinueRedirect"]=> &string(35) "/Products_Detail.php?ProductID=3552" ["WA_Ecart_Coupon_ID"]=> &NULL ["AdminLogin"]=> &string(15) "password" ["SuperAdminLogin"]=> &string(15) "password" ["WAVT_usersLogIn_Errors"]=> &string(0) "" ["UserID"]=> &string(1) "5" ["UserEmailVerified"]=> &string(1) "1" ["UserEmail"]=> &string(23) "shauqie1957@hotmail.com" ["UserGroupID"]=> &string(1) "1" ["WAVT_confirm_Errors"]=> &string(0) "" ["eCartCheckoutForm_shipping_country"]=> &string(2) "US" ["eCartCheckoutForm_shipping_postcode"]=> &string(5) "55410" ["eCartCheckoutForm_shipping_state_province"]=> &string(2) "MN" ["eCartCheckoutForm_shipping_city"]=> &string(11) "Minneapolis" ["eCartCheckoutForm_shipping_street2"]=> &string(16) "Changpuek, Muang" ["eCartCheckoutForm_shipping_street1"]=> &string(25) "24, Chiangmai-Lampang Rd." ["eCartCheckoutForm_shipping_fax"]=> &string(0) "" ["eCartCheckoutForm_shipping_phone"]=> &string(12) "+60134490795" ["eCartCheckoutForm_shipping_email"]=> &string(23) "shauqie1957@hotmail.com" ["eCartCheckoutForm_shipping_lastname"]=> &string(11) "Abdull Aziz" ["eCartCheckoutForm_shipping_firstname"]=> &string(13) "Ahmad Shauqie" ["eCartCheckoutForm_country"]=> &string(2) "US" ["eCartCheckoutForm_postcode"]=> &string(5) "55410" ["eCartCheckoutForm_state_province"]=> &string(2) "MN" ["eCartCheckoutForm_city"]=> &string(11) "Minneapolis" ["eCartCheckoutForm_street2"]=> &string(16) "Changpuek, Muang" ["eCartCheckoutForm_street1"]=> &string(25) "24, Chiangmai-Lampang Rd." ["eCartCheckoutForm_fax"]=> &string(0) "" ["eCartCheckoutForm_phone"]=> &string(12) "+60134490795" ["eCartCheckoutForm_email"]=> &string(23) "shauqie1957@hotmail.com" ["eCartCheckoutForm_lastname"]=> &string(11) "Abdull Aziz" ["eCartCheckoutForm_firstname"]=> &string(13) "Ahmad Shauqie" ["eCartCheckoutForm_cvv"]=> &string(3) "471" ["eCartCheckoutForm_exp_year"]=> &string(4) "2012" ["eCartCheckoutForm_exp_month"]=> &string(2) "12" ["eCartCheckoutForm_cc_number"]=> &string(15) "123456789098765" ["eCartCheckoutForm_cc_type"]=> &string(4) "Amex" ["WAVT_couponsInsert_Errors"]=> &string(0) "" ["WADA_Insert_coupons"]=> &int(9) ["PP_DirectPayment_postedValues"]=> &string(2334) "busshauqie_api1.yahoo.comGU8SREY82QYK3946AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD62.20Sale1.0810.08WebAssist.eCartPHP.Pro.DPtest113552Ahmad Shauqie Abdull Aziz24, Chiangmai-Lampang Rd.Changpuek, MuangMinneapolisMN55410US+60134490795Amex123456789098765122012verifiedAhmad ShauqieAbdull Azizshauqie1957@hotmail.comUS
24, Chiangmai-Lampang Rd.Changpuek, MuangMinneapolisMNUSUS55410+60134490795
471118.101.170.245613c77e64a72792290086d949a7de7d2" ["PP_DirectPayment"]=> &string(2203) "AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD62011-04-06T07:37:53ZFailure87493ee1e1fcaMerchant country unsupported.The merchant country is not supported.10565Error2.2018242011.08" }

Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed

Sign in to reply to this post

Jason ByrnesWebAssist

The error coming back from paypal is:
Merchant country unsupported

What country is you business account with paypal registered in?

It seams that PayPal does not offer paypal payments pro in that country. You should contact paypal to determine what options are available to you. you may be able to use Paypal Express Checkout

Sign in to reply to this post

shauqie

thanks for the help. yea my paypal account doesent support payments pro in my country.

then i chose express checkout. here is the error i go. what's wrong for this time?

Direct Pay:
Full Request: n/a
Full Response: n/a
Express Authorize
Full Request: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents"><Username>busshauqie_api1.yahoo.com</Username><Password>GU8SREY82QYK3946</Password><Signature>AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD6</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckoutRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><ReturnURL>http://twins-asia.com/pp_confirm.php</ReturnURL><CancelURL>http://twins-asia.com/pp_cancel.php</CancelURL><PaymentAction>Authorization</PaymentAction><PaymentDetails><OrderTotal currencyID="USD">1.08</OrderTotal></PaymentDetails></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope>
Full Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string">AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD6</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2011-04-07T06:38:33Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">75e236d1d7392</CorrelationID><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1824201</Build><Token xsi:type="ebl:ExpressCheckoutTokenType">EC-07G0307222556724R</Token></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Express Process:
Full Request: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents"><Username>busshauqie_api1.yahoo.com</Username><Password>GU8SREY82QYK3946</Password><Signature>AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD6</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><DoExpressCheckoutPaymentReq xmlns="urn:ebay:api:PayPalAPI"><DoExpressCheckoutPaymentRequest><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><DoExpressCheckoutPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><Token>EC-07G0307222556724R</Token><PaymentAction>Sale</PaymentAction><PayerID></PayerID><PaymentDetails><OrderTotal currencyID="USD">1.08</OrderTotal><ItemTotal currencyID="USD">1</ItemTotal><TaxTotal currencyID="USD">0.08</TaxTotal><ButtonSource>WebAssist.eCartPHP.Pro.ECO</ButtonSource><PaymentDetailsItem><Name>test</Name><Amount currencyID="USD">1</Amount><Quantity>1</Quantity><Number>3552</Number></PaymentDetailsItem></PaymentDetails></DoExpressCheckoutPaymentRequestDetails></DoExpressCheckoutPaymentRequest></DoExpressCheckoutPaymentReq></soap:Body></soap:Envelope>
Full Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string">AIlI6HqX6O0MY0mfBEXS0A.YzZM5AGXkNJz1ETkn5gej6vslthjNeGD6</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><DoExpressCheckoutPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2011-04-07T06:44:35Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">db90427b5bf5f</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Express Checkout PayerID is missing.</ShortMessage><LongMessage xsi:type="xs:string">Express Checkout PayerID is missing.</LongMessage><ErrorCode xsi:type="xs:token">10419</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage><LongMessage xsi:type="xs:string">The PayerID value is invalid.</LongMessage><ErrorCode xsi:type="xs:token">10406</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">60.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1824201</Build><DoExpressCheckoutPaymentResponseDetails xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:DoExpressCheckoutPaymentResponseDetailsType"></DoExpressCheckoutPaymentResponseDetails></DoExpressCheckoutPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...