Jump to content

Problem using Direct Payment and Express Checkout


Guest kpowerscvg

Recommended Posts

Guest kpowerscvg

ss01.jpg

Just wondering if anyone else is seeing this when trying to use PayPal Express or Direct Payment.

I've been working on this for 3 days and can't seem to find an answer.

I'm using PayPal Pro, CC 3.14, verified all settings, verified API key information, uploaded certificate to the server.

Any input anyone can provide would be greatly appreciated

Link to comment
Share on other sites

  • 2 weeks later...

Guest kaskudoo

i had similar messages when i had my site hosted on godaddy. the fix was to move away from godaddy .... now it works (supposedly godaddy has not a very good php implementation - maybe check php version and functionality?)

Link to comment
Share on other sites

  • 3 months later...
Guest chas5427

any definitive fix for this problem? am getting the same response in paypal express upon selecting review. direct payment works fine.

Link to comment
Share on other sites

Guest Cellular Amps LLC

Not sure who your hosting is with, but I just spent the last 4 days fighting similar issues, and it ended up that Godaddy does not support Paypal pro, they have a patch so to speak to fix paypal IPN, but not Pro.

Link to comment
Share on other sites

Guest chas5427

just got things fixed with a custom php.ini file.

the host provided a default php.ini file (ask your host for this file), in it i had to disable open_basedir protection. this custom file was placed in the referenced directory and the problem was resolved. in my case it was the /modules/gateway/ExpressCheckout/ and cart root directories with the instruction to place the file in any other directories if additional warnings occurred.

one headache solved . . . although, note, this creates a potential security issue . . .

Link to comment
Share on other sites

  • 2 weeks later...
Guest woodstuck

Indeed, it creates a security problem. I'm surprized your hosting company would do that for you.

The problem seems to have been introduced with PHP 4.4.4 -- it fixed a security hole by disabling that cURL option if open_basedir is set.

See my post in this forum, of 29 March, for a few more details and a link to PayPal's developers' forum.

While changing php.ini might do the trick, I'd rather see the CubeCart/PayPal code updated to accomodate more recent versions of PHP . . .

Link to comment
Share on other sites

  • 4 months later...
Guest pyrate

I was receiving the same error messages with CC 3.0.15, so I upgraded to 3.0.16.

Now Paypal Direct Payment always ends with "Sorry, your order failed!" I have searched and found no fix to this. Anyone have any suggestions?

Thanks

Link to comment
Share on other sites

Guest Emagine

I was receiving the same error messages with CC 3.0.15, so I upgraded to 3.0.16.

Now Paypal Direct Payment always ends with "Sorry, your order failed!" I have searched and found no fix to this. Anyone have any suggestions?

Thanks

i am running V3.0.17 and i also get this same error ""Sorry, your order failed!" "

i have checked , double checked paypal and CC settings and they are correct, ive allowed both IP's on my server that is using it, ive checked the cert, API name and passwords, the allowed proticols it can use within the credentials section.

and yet not working.

all others are and some bugs i had before but still this issue with PayPal Pro (i am UK user)

Link to comment
Share on other sites

  • 1 month later...

I register paypal business. and register api aplication. for Direct Payment download certificate and upload my website certificate file.

I dont have any error. Goto my website basket. And pay. With direct payment. And enter the credit cart information. After that cubecart say me

------------------

Sorry, your order failed!

You can attempt to purchase your basket contents again below:

------------------

I cant solve this problem.

When I open the log file pear/tmp

---------------------------------------20070920PayPal.log file

Sep 20 14:25:49 goktas.selcuk_api1.yahoo.com [debug] DEBUG setEndpoint: https://api-aa.paypal.com/2.0/

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [debug] Request XML: <?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:ns4="urn:ebay:apis:eBLBaseComponents"

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Header>

<RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="1">

<ns4:Credentials xmlns:ebl="urn:ebay:apis:eBLBaseComponents">

<ns4:Username xsi:type="xsd:string">goktas.selcuk_api1.yahoo.com</ns4:Username>

<ns4:Password xsi:type="xsd:string">***</ns4:Password>

<ns4:Signature xsi:nil="true"/>

<ns4:Subject xsi:nil="true"/></ns4:Credentials></RequesterCredentials>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<DoDirectPaymentReq xmlns="urn:ebay:api:PayPalAPI">

<DoDirectPaymentRequest>

<ns4:Version xsi:type="xsd:string">2.3</ns4:Version>

<ns4:DoDirectPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents">

<PaymentAction>Sale</PaymentAction>

<PaymentDetails>

<OrderTotal xsi:type="xsd:string" currencyID="USD">1.00</OrderTotal>

<ShipToAddress>

<Name xsi:type="xsd:string">deneme

deneme</Name>

<Street1 xsi:type="xsd:string">deneme</Street1>

<Street2 xsi:type="xsd:string"></Street2>

<CityName xsi:type="xsd:string">deneme</CityName>

<StateOrProvince xsi:type="xsd:string">deneme</StateOrProvince>

<Country xsi:type="xsd:string">TR</Country>

<PostalCode xsi:type="xsd:string">111</PostalCode></ShipToAddress></PaymentDetails>

<CreditCard>

<CreditCardType>MasterCard</CreditCardType>

<CreditCardNumber xsi:type="xsd:string">***</CreditCardNumber>

<ExpMonth xsi:type="xsd:int">09</ExpMonth>

<ExpYear xsi:type="xsd:int">2009</ExpYear>

<CardOwner>

<PayerName>

<FirstName>SELCUK</FirstName>

<LastName>GOKTAS</LastName></PayerName>

<PayerCountry>TR</PayerCountry>

<Address>

<Name xsi:type="xsd:string">deneme

deneme</Name>

<Street1 xsi:type="xsd:string">deneme</Street1>

<Street2 xsi:type="xsd:string"></Street2>

<CityName xsi:type="xsd:string">deneme</CityName>

<StateOrProvince xsi:type="xsd:string">deneme</StateOrProvince>

<Country xsi:type="xsd:string">TR</Country>

<PostalCode xsi:type="xsd:string">111</PostalCode></Address></CardOwner>

<CVV2 xsi:type="xsd:string">344</CVV2></CreditCard>

<IPAddress xsi:type="xsd:string">127.22.81.196</IPAddress></ns4:DoDirectPaymentRequestDetails></DoDirectPaymentRequest></DoDirectPaymentReq>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [debug] Response XML: HTTP/1.1 200 OK

Date: Thu, 20 Sep 2007 14:26:04 GMT

Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e

Connection: close

Content-Length: 2256

Content-Type: text/xml; charset=utf-8

<?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:market="urn:ebay:apis:Market" xmlns:auction="urn:ebay:apis:Auction" xmlns:sizeship="urn:ebay:api:PayPalAPI/sizeship.xsd" xmlns:ship="urn:ebay:apis:ship" xmlns:skype="urn:ebay:apis:skype" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" 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><Password xsi:type="xs:string"></Password><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><DoDirectPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2007-09-20T14:26:04Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">f84a09ec86182</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Merchant country unsupported.</ShortMessage><LongMessage xsi:type="xs:string">The merchant country is not supported.</LongMessage><ErrorCode xsi:type="xs:token">10565</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.300000</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1.0006</Build><Amount xsi:type="cc:BasicAmountType" currencyID="USD">1.00</Amount></DoDirectPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [info] DoDirectPayment, Elapsed: 1472ms, Ack: Failure

----------------------------------------------------

I cant do anything anymore. Please help. my eyes full blood.

Link to comment
Share on other sites

Guest curtis myers

I register paypal business. and register api aplication. for Direct Payment download certificate and upload my website certificate file.

I dont have any error. Goto my website basket. And pay. With direct payment. And enter the credit cart information. After that cubecart say me

------------------

Sorry, your order failed!

You can attempt to purchase your basket contents again below:

------------------

I cant solve this problem.

When I open the log file pear/tmp

---------------------------------------20070920PayPal.log file

Sep 20 14:25:49 goktas.selcuk_api1.yahoo.com [debug] DEBUG setEndpoint: https://api-aa.paypal.com/2.0/

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [debug] Request XML: <?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:ns4="urn:ebay:apis:eBLBaseComponents"

SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Header>

<RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="1">

<ns4:Credentials xmlns:ebl="urn:ebay:apis:eBLBaseComponents">

<ns4:Username xsi:type="xsd:string">goktas.selcuk_api1.yahoo.com</ns4:Username>

<ns4:Password xsi:type="xsd:string">***</ns4:Password>

<ns4:Signature xsi:nil="true"/>

<ns4:Subject xsi:nil="true"/></ns4:Credentials></RequesterCredentials>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<DoDirectPaymentReq xmlns="urn:ebay:api:PayPalAPI">

<DoDirectPaymentRequest>

<ns4:Version xsi:type="xsd:string">2.3</ns4:Version>

<ns4:DoDirectPaymentRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents">

<PaymentAction>Sale</PaymentAction>

<PaymentDetails>

<OrderTotal xsi:type="xsd:string" currencyID="USD">1.00</OrderTotal>

<ShipToAddress>

<Name xsi:type="xsd:string">deneme

deneme</Name>

<Street1 xsi:type="xsd:string">deneme</Street1>

<Street2 xsi:type="xsd:string"></Street2>

<CityName xsi:type="xsd:string">deneme</CityName>

<StateOrProvince xsi:type="xsd:string">deneme</StateOrProvince>

<Country xsi:type="xsd:string">TR</Country>

<PostalCode xsi:type="xsd:string">111</PostalCode></ShipToAddress></PaymentDetails>

<CreditCard>

<CreditCardType>MasterCard</CreditCardType>

<CreditCardNumber xsi:type="xsd:string">***</CreditCardNumber>

<ExpMonth xsi:type="xsd:int">09</ExpMonth>

<ExpYear xsi:type="xsd:int">2009</ExpYear>

<CardOwner>

<PayerName>

<FirstName>SELCUK</FirstName>

<LastName>GOKTAS</LastName></PayerName>

<PayerCountry>TR</PayerCountry>

<Address>

<Name xsi:type="xsd:string">deneme

deneme</Name>

<Street1 xsi:type="xsd:string">deneme</Street1>

<Street2 xsi:type="xsd:string"></Street2>

<CityName xsi:type="xsd:string">deneme</CityName>

<StateOrProvince xsi:type="xsd:string">deneme</StateOrProvince>

<Country xsi:type="xsd:string">TR</Country>

<PostalCode xsi:type="xsd:string">111</PostalCode></Address></CardOwner>

<CVV2 xsi:type="xsd:string">344</CVV2></CreditCard>

<IPAddress xsi:type="xsd:string">127.22.81.196</IPAddress></ns4:DoDirectPaymentRequestDetails></DoDirectPaymentRequest></DoDirectPaymentReq>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [debug] Response XML: HTTP/1.1 200 OK

Date: Thu, 20 Sep 2007 14:26:04 GMT

Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e

Connection: close

Content-Length: 2256

Content-Type: text/xml; charset=utf-8

<?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:market="urn:ebay:apis:Market" xmlns:auction="urn:ebay:apis:Auction" xmlns:sizeship="urn:ebay:api:PayPalAPI/sizeship.xsd" xmlns:ship="urn:ebay:apis:ship" xmlns:skype="urn:ebay:apis:skype" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" 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><Password xsi:type="xs:string"></Password><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><DoDirectPaymentResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2007-09-20T14:26:04Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">f84a09ec86182</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Merchant country unsupported.</ShortMessage><LongMessage xsi:type="xs:string">The merchant country is not supported.</LongMessage><ErrorCode xsi:type="xs:token">10565</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.300000</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1.0006</Build><Amount xsi:type="cc:BasicAmountType" currencyID="USD">1.00</Amount></DoDirectPaymentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Sep 20 14:25:51 goktas.selcuk_api1.yahoo.com [info] DoDirectPayment, Elapsed: 1472ms, Ack: Failure

----------------------------------------------------

I cant do anything anymore. Please help. my eyes full blood.

I am also receiving the same message! if you find out please let me know.....

Confirmation Screen

Sorry, your order failed!

You can attempt to purchase your basket contents again below:

Try Again

Link to comment
Share on other sites

  • 2 weeks later...

The reason for the fails is shown in the API reply code from PayPal:

<ShortMessage xsi:type="xs:string">Merchant country unsupported.</ShortMessage><LongMessage xsi:type="xs:string">The merchant country is not supported.</LongMessage><ErrorCode xsi:type="xs:token">10565</ErrorCode>

Does PayPal Pro only work still just in the USA?

-Tim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...