Jump to content
Sign in to follow this  
dynamoeffects

PayPal WPP Direct Payments & Express Checkout Support

Recommended Posts

ItemTotal is off

 

 

In function: before_process() - Direct Payment

Did first contact attempt return error? Yes

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

-------------------------------DP_DUMP-------------------------------

------------This is the information that was sent to PayPal----------

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

[?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]rvsupply_api1.aol.com[/username]

[Password]MYHWV5KSPNRMAGB5[/Password]

[subject][/subject]

[/Credentials]

[/RequesterCredentials]

[/soap:Header]

[soap:Body]

[DoDirectPaymentReq xmlns=urn:ebay:api:PayPalAPI]

[DoDirectPaymentRequest]

[Version xmlns=urn:ebay:apis:eBLBaseComponents]2.0[/Version]

[DoDirectPaymentRequestDetails xmlns=urn:ebay:apis:eBLBaseComponents]

[PaymentAction]Sale[/PaymentAction]

[PaymentDetails]

[OrderTotal currencyID=USD]21.58[/OrderTotal]

[OrderDescription]Order placed on February 2, 2007, 4:44 pm by sDvgeg dsgD (ID: 21)[/OrderDescription]

[itemTotal currencyID=USD]0[/itemTotal]

[shippingTotal currencyID=USD]6.59[/shippingTotal]

[HandlingTotal currencyID=USD]2.00[/HandlingTotal]

[TaxTotal currencyID=USD]0[/TaxTotal]

[Custom]Phone: 86597863234 -- Email: admin@adventurervcenter.com[/Custom]

[invoiceID][/invoiceID]

[NotifyURL][/NotifyURL]

[buttonSource][/buttonSource]

[shipToAddress]

[Name]robert cll[/Name]

[street1]175 easy street[/street1]

[street2][/street2]

[CityName]Poteet[/CityName]

[stateOrProvince]TX[/stateOrProvince]

[PostalCode]78065-3670[/PostalCode]

[Country]US[/Country]

[/shipToAddress]

[PaymentDetailsItem][Name]Amerimax Screen Door Latch, Right Hand[/Name][Amount currencyID=12.99]12.99[/Amount][Number]1081 (s-srrhsa)[/Number][Quantity]1[/Quantity][/PaymentDetailsItem][PaymentDetailsItem][Name]Order Total Discrepancy[/Name][Amount currencyID=12.99]-12.99[/Amount][Number]NA[/Number][Quantity]1[/Quantity][/PaymentDetailsItem]

[/PaymentDetails]

Share this post


Link to post
Share on other sites

Hi! I'm attempting to install and use the 0.8.2 version of this contribution. Installation went well but when I attempted but when I selected "Checkout" to test it, the following error occurred:

 

Warning: Cannot modify header information - headers already sent by (output started at /includes/application_top.php:533) in /includes/functions/general.php on line 33

 

Any suggestions please?

 

The only other contribution I am running is the globals 1.5 patched files.

 

Thank you!

 

Khem

Share this post


Link to post
Share on other sites

I am running 0.8.2, and I just installed the direct checkout not the Express.

 

I was doing a test run and I purposely typed in the wrong EXP date for my CC and when you checkout it just dumps your back at the CC info page which is great but is there a way to make it say declined or some error so the customer is not confues?

 

thanks, matt

Share this post


Link to post
Share on other sites
I am running 0.8.2, and I just installed the direct checkout not the Express.

 

I was doing a test run and I purposely typed in the wrong EXP date for my CC and when you checkout it just dumps your back at the CC info page which is great but is there a way to make it say declined or some error so the customer is not confues?

 

thanks, matt

 

If you installed the module correctly, including *all* the edits to the files, you should see a red bar at the top of the page indicating the error.

 

If you enter an expiration date that predates the current date, the module will catch it, display the error, and dump you back into checkout_payment.php. If you enter a date that doesn't match the card's expiration date, you will probably get a "Gateway Decline" error in the red error bar. This message comes from PayPal.

 

According to PayPal's business rules, you *must* install Express Checkout as a condition of using the direct payment API.

 

--Glen

Share this post


Link to post
Share on other sites

I installed the whole module, and yep its shows the errors, I wish I could just install the direct payment, oh well thats paypal.

 

One thing I noticed is that when a customer types in a comment on order checkout it mashes it on top of the credit card processing info.

 

Any way to split that up?

Share this post


Link to post
Share on other sites

I have a little problem I am sure it is something simple.

 

when we are on this page: https://www.website.com/checkout_shipping.php the continue button does not work and does not take us to the next step of payment information. In the browser if I replace shipping with payment it will move me along to finish the order with this module. It is just getting stuck between these two pages the checkout_shipping and checkout_payment. I don't know why the continue button is not moving me there.

 

any ideas?

 

thanks for any help

Share this post


Link to post
Share on other sites
I have a little problem I am sure it is something simple.

 

when we are on this page: https://www.website.com/checkout_shipping.php the continue button does not work and does not take us to the next step of payment information. In the browser if I replace shipping with payment it will move me along to finish the order with this module. It is just getting stuck between these two pages the checkout_shipping and checkout_payment. I don't know why the continue button is not moving me there.

 

any ideas?

 

thanks for any help

 

Actually what I said is incorrect. If I replace the checkout_shipping with checkout_payment it takes me back to checkout_shipping. Any ideas why this is happening?

Share this post


Link to post
Share on other sites

Did you select a shipping option?


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites
Did you select a shipping option?

 

i got it figured out

 

now i am having a problem with the order total with tax

 

If the item is setup to be a taxable good I get an error back from paypal saying the order total is incorrect. If I take the tax off of the item then the order goes thru correctly. Any ideas how to correct this?

Share this post


Link to post
Share on other sites

Okay..now I am totally confused, which version should be installed..now paypal have come up with their version. The version I used is not stable and I should have used another...I have backed up all my osc store as there are various contributions installed...I have all the info from paypal API etc...but I am totally lost

 

Is there anyone out there who can work with me to get this installed? preferably by Yahoo IM...

 

It would be very much appreciated...I know everyone is busy..but do not know who to turn to..I sell digital downloads....loads of visitors..but I need this up and running to make the business grow...

 

 

pleeeeeeeeeeeeeeeez

 

My email is rdgow@btinternet.com

 

Thanks

Share this post


Link to post
Share on other sites

Note that PayPal's "official" version is just version 0.7.3 of this contribution, just with lots of additional comments. Don't expect it to be much different if you had problems installing it before.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites

Hello All,

I installed version paypal_wpp_0.8.2 and now have run into a few problems. When I click confirm order I get nothing but loading for 2 minutes or so and then a blank page in firefox. In internet exploerer i get a page cannot be displayed.

All of the files were stock except the header.php which had a metatag mod. I changed it to match

I installed the Diagnostic Script v0.1 and got the result:

________________________________________________________________

 

Using at least PHP 4.3.0? Yes

Does your store have an SSL certificate installed and working? Yes

Is cURL installed? Yes

Does cURL work? (Simple HTTP test) Yes

API Certificate installed? Yes

API Certificate directory protected? Yes

API Username in place? Yes

API Password in place? Yes

XML Document "doDirectPayment.xml" exists? Yes

XML Document "doExpressCheckout.xml" exists? Yes

XML Document "getExpressCheckoutDetails.xml" exists? Yes

XML Document "setExpressCheckout.xml" exists? Yes

XML Document "transactionSearch.xml" exists? Yes

________________________________________________________________

So It all checks out there.

 

The debug Email is

________________________________________________________________

 

In function: before_process() - Direct Payment

Did first contact attempt return error? Nope

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

-------------------------------DP_DUMP-------------------------------

------------This is the information that was sent to PayPal----------

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

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

-------------------------------FINAL_REQ-----------------------------

-------------------This is the response from PayPal------------------

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

 

 

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

---------------------------------TS_REQ------------------------------

--------Results of the transaction search if it was executed---------

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

_____________________________________________________________________

 

Being a noob, I am not sure if that is a success or not.

 

My CGI server error log reports file does not exist I don't think my absolute path includes /var/chroot and not sure what the emptyreference is refering to.

_______________________________________________________________________

 

File does not exist: /var/chroot/home/content/j/c/o/jconner/html/store/catalog/(EmptyReference!)

File does not exist: /var/chroot/home/content/j/c/o/jconner/html/store/(EmptyReference!)

_______________________________________________________________________

 

Anyone have any ideas?

Thanks in advance

Share this post


Link to post
Share on other sites

Are you a GoDaddy user?

Did everything in the diagnostic script check out? You're missing a section.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites
Are you a GoDaddy user?

Did everything in the diagnostic script check out? You're missing a section.

Yes, I am a godaddy user.

I have the proxy set to

Proxy Address

https://64.202.165.130:3128

I posted all of the script results I got.

_________________________________________________________________

Paypal Website Payments Pro

 

Diagnostics Program

 

by Brian Burton (dynamoeffects)

Basic Tests

Using at least PHP 4.3.0? Yes

Does your store have an SSL certificate installed and working? Yes

Is cURL installed? Yes

Does cURL work? (Simple HTTP test) Yes

API Certificate installed? Yes

API Certificate directory protected? Yes

API Username in place? Yes

API Password in place? Yes

XML Document "doDirectPayment.xml" exists? Yes

XML Document "doExpressCheckout.xml" exists? Yes

XML Document "getExpressCheckoutDetails.xml" exists? Yes

XML Document "setExpressCheckout.xml" exists? Yes

XML Document "transactionSearch.xml" exists? Yes

_________________________________________________________________

 

What section am i missing?

Thanks for your help

Share this post


Link to post
Share on other sites

There should be an advanced section where it does a test call to PayPal.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites

Looks like cURL dies during https calls. Contact your host's support and ask them to test cURL through SSL, because it's failing for you.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites

I contacted them.

They told me that in order for the script to work it would need to be modified. They emailed the details :

++++++++++++++++++++++++++++++++++++++++++++++

We recently enabled outgoing http and https connections for our web hosting customers. These connections will take place via a proxy server, which will be completely transparent for customers making only http (port 80) connections. Applications that need to make https connections (port 443) will need to be made “proxy aware”. This will require additional coding to varying degrees, depending on the application. These customers will need to know the ip address and port of the proxy server in order to correctly modify their code. The address of the proxy server is proxy.shr.secureserver.net and connections will be made on port 3128.

 

Customers using cURL with PHP will need to include the following lines on each script that utilizes cURL functions.

 

 

curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);

curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);

curl_setopt ($ch, CURLOPT_PROXY, http://proxy.shr.secureserver.net:3128);

curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

 

+++++++++++++++++++++++++++++++++++++++++++++

 

I changed the proxy address and now i get

+++++++++++++++++++++++++++++++++++++++++++++

Paypal Website Payments Pro

 

Diagnostics Program

 

by Brian Burton (dynamoeffects)

Basic Tests

Using at least PHP 4.3.0? Yes

Does your store have an SSL certificate installed and working? Yes

Is cURL installed? Yes

Does cURL work? (Simple HTTP test) Yes

API Certificate installed? Yes

API Certificate directory protected? Yes

API Username in place? Yes

API Password in place? Yes

XML Document "doDirectPayment.xml" exists? Yes

XML Document "doExpressCheckout.xml" exists? Yes

XML Document "getExpressCheckoutDetails.xml" exists? Yes

XML Document "setExpressCheckout.xml" exists? Yes

XML Document "transactionSearch.xml" exists? Yes

Advanced Diagnostics

Able to connect to PayPal through cURL? No

Error received: 35: SSL: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

Received a valid response? Yes

Did PayPal respond without errors? (If not, errors are below) Yes

Success!

 

Congratulations! This contribution appears to be correctly installed on your store!

 

Please note that if you're still having problems with your installation, it is most likely because you didn't completely integrate all of the code.

++++++++++++++++++++++++++++++++++++++++++++++++

Ofcourse I still have an error.

but there is progress

Share this post


Link to post
Share on other sites

Now that's weird. Make sure you're using a live certificate if your module's set to live, and a sandbox certificate if you're testing in the sandbox. They're not interchangeable.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites
Now that's weird. Make sure you're using a live certificate if your module's set to live, and a sandbox certificate if you're testing in the sandbox. They're not interchangeable.

 

Actually, it isn't weird; the error indicates that the certificate authority wasn't recognized. We have answered several questions here in the forum related to the same error. Maybe an explanation could be added to the documentation that explains that if you get the "tlsv1 alert unknown ca" message, that you should check your certificate.

 

--Glen

Share this post


Link to post
Share on other sites

I meant it's weird that the diagnostic script continued after an error was generated. It should die as soon as there's a problem.


Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Share this post


Link to post
Share on other sites
I meant it's weird that the diagnostic script continued after an error was generated. It should die as soon as there's a problem.

 

Gotcha. Looks like a bug in your error processing in the script.

 

--Glen

Share this post


Link to post
Share on other sites

OK, found this an easy enough install, but I'm running out of ideas. I'm on the end of an all-nighter and I've tracked down a ton of problems and fixed them, but I'm now getting a failure on my credit card with the following error:

 

Error Your credit card was declined. Please try another card or contact your bank for more info.

 

Processor Decline (15005)

This transaction cannot be processed.

 

Can somebody tell me from this error dump what the problem is?

 

-------------------------------FINAL_REQ-----------------------------

-------------------This is the response from PayPal------------------

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

Array

(

[security] =>

[RequesterCredentials] => Array

(

[0] => Array

(

[Credentials] => Array

(

[0] => Array

(

[username] =>

[Password] =>

[subject] =>

)

 

)

 

)

 

)

 

[DoDirectPaymentResponse] => Array

(

[0] => Array

(

[Timestamp] => 2007-02-07T10:35:48Z

[Ack] => Failure

[CorrelationID] => 7441e06144c2a

[Errors] => Array

(

[0] => Array

(

[shortMessage] => Processor Decline

[LongMessage] => This transaction cannot be processed.

[ErrorCode] => 15005

[severityCode] => Error

[ErrorParameters] => Array

(

[0] => Array

(

[Value] => 0051

)

 

)

 

)

 

)

 

[Version] => 2.000000

[build] => 1.0006

[Amount] => 7.95

[AVSCode] => U

[CVV2Code] => N

)

 

)

 

)

 

 

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

---------------------------------TS_REQ------------------------------

--------Results of the transaction search if it was executed---------

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

 

 

Thanks for any help you can offer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×