close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart 6 and PayPal Payments Advanced

Thread began 2/02/2014 11:24 am by phil287111 | Last modified 2/18/2014 4:12 pm by Jason Byrnes | 1366 views | 22 replies |

phil287111

eCart 6 and PayPal Payments Advanced

I'm using eCart 6 with Dreamweaver CS5 and trying to set up the checkout with PayPal Payments Advanced. There are various settings in the PayPal Payments Advanced: Secure Token, Hosted Checkout pages, 3 different layouts (A, B and C), Silent Post. Is there any documentation on how to set up PayPal Payments Advanced so it can interface with eCart 6? So far, I am connecting with PayPal but none of the customer data is being transferred over. I don't know if it has to do with the settings or my SSL setup.
Any help would be appreciated.

Sign in to reply to this post

phil287111

Update on previous post: I was able to find the documentation for PayPal Payments Advanced in the tutorial section where it explains how to set it up for CafeCommerce. I'm assuming the settings are the same for eCart6? I was able to get a transaction to go through but it only sent the credit card info. No billing or shipping address was received on the PayPal side. Is there any documentation on eCart 6 and PayPal Payments Advanced? I've set up many websites with eCart 5 and Authorize.net or PayPal Payments standard and had nowhere near the trouble I'm having with eCart 6 and PPA.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, setting up Paypal advanced is the same for eCart 6 as in Cafe Commerce.

Paypal advanced does not offer support sending the shipping info, you should up the checkout wizard to store the order retails in a Database, that way you can look in the database for the shipping details.

Sign in to reply to this post

phil287111

Thanks, I've already set up the database, but PayPal is not receiving any information except the credit card info and the total price of the order. I'm trying to test with the sandbox but all I get is checkout_failure.php page appended at the bottom. I added the code to dump the session variable but there's nothing in there except the product info. No error code or any other indication coming back from PayPal. I've been trying to get this working for a week now and have had no luck. I'm I the first customer using eCart 6 with PayPal Payments Advanced? Has anyone got a site up and running with that configuration? To test in the sandbox, PayPal insists on changing the API call to use: https://pilot-payflowpro.paypal.com instead of the one coded in the ppadvframe.php file. Is that true?
Please help.

Sign in to reply to this post

Jason ByrnesWebAssist

Others have used PayPal advanced in eCart 6.

are you testing from your local computer? or testing using the live server? you wont be able to test payments using the local computer.

also, when you request API credentials, you will need separate API credentials for the sand box from the API credentials for the live server.


the URL that the ppadvframe.php file sets thew form to post to is set in the webassist/ecart/PP_PayAdv_PHP.php file:

$servURL = 'plugins/payflowpro.paypal.com';
if($test) {
$servURL = 'plugins/pilot-payflowpro.paypal.com';
}


go to WebAssist -> eCart -> Payment gateway credentials to set whether the sand box is used or not, and the API Credentials that are used.

Sign in to reply to this post

phil287111

I am testing on a remote server, not my local computer. I made the changes you suggested but still get the Transaction Not Completed message from the checkout_failure.php page along with the dump of the session variable. One question: what do you mean by requesting API Credentials? I'm assuming you mean the login info for the PayPal Paymens Advanced account. I'm using my clients live account, but the Transaction Processing Mode is set to "Test". Under PayPal Express Checkout->PayPal Sandbox email address: I have a valid sandbox email address and I'm using the fake VISA number associated with that buyer. I can't figure out what other settings may be wrong. Any clues here?

Sign in to reply to this post

Jason ByrnesWebAssist

PayPal Express checkout is not the same service as paypal advanced.

With PayPal Express checkout, you need to request API Credentials which are not the same as the settings for paypal advanced.

see the Obtaining the Sandbox API section of this tutorial for details:

http://www.webassist.com/tutorials/PayPal-Sandbox-for-testing

Sign in to reply to this post

phil287111

Jason, that WebAssist tutorial for PayPal sandbox testing does not work with the PayFlow gateway. I've been trying to set up a testing environment for eCart 6 and PayPal Payments Advanced. I spoke to PayPal this morning and they had me set up a separate developer account for PayFlow. I also found a very recent PayPal tutorial on how to test with PayFlow (here's the link: https://ppmts.custhelp.com/app/answers/detail/a_id/929/). It's been very helpful but I'm still having issues connecting to the developer account from eCart using Layout C. There is a requirement to add a mode parameter equal to 'TEST" in the iframe:
<iframe src='https://payflowlink.paypal.com?SECURETOKEN=.......&SECURETOKENID=........&MODE=TEST' width='490' height='565'
border='0' frameborder='0' scrolling='no' allowtransparency='true'></iframe>

Do you know where I can find that line of code?

Sign in to reply to this post

Jason ByrnesWebAssist

edit the eCart gateway credentials behavior, go to WebAssist -> eCart -> Gateway credentials. select the payPal Advanced gateway, and check the sandbox option.

make sure top uplaod the webassist/eCart folder and it should add the test mode option to the iframe automatically.

Sign in to reply to this post

phil287111

Jason - I finally have the testing environment set up between eCart 6 and PayPal Payments Advanced. Thanks for your help on that. The only problem I'm still having is that I cannot get the checkout_success page to come up after a transaction goes through with the credit card information. I keep getting the checkout_failure page. I added the code to dump the session variable to the checkout_failure page and I'm getting a RESULT=0 and RESPMSG=Approved. These seem to be successful results so why would I be getting the checkout_failure page.

I do have the proper API credentials and the sandbox radio button is checked ineCart and the mode over on the PayPal side is set to 'Test'.

I've copied the dump below. Thanks for all your help so far-
Phil

L_DESC0=These+Earrings+are+made+from+actual+Brightivison+Redline+Wheels%21+Have+great+fun+with+these+awesome+Hot+Wheels+Redline+Earrings%21&L_AMT0=6.95&L_QTY0=1&TAXAMT=0&SHIPPINGAMT=0&AMT=6.95&ITEMAMT=6.95" ["PP_PayAdv"]=> string(110) "RESULT=0&SECURETOKEN=Utxz4bR8ddEapcGsUSwgniQL2&SECURETOKENID=fdc27087c5b1bead4098e8c92b1c0e5c&RESPMSG=Approved" ["PP_PayAdv_retVals"]=> array(4) { ["RESULT"]=> string(1) "0" ["SECURETOKEN"]=> string(25) "Utxz4bR8ddEapcGsUSwgniQL2" ["SECURETOKENID"]=> string(32) "fdc27087c5b1bead4098e8c92b1c0e5c" ["RESPMSG"]=> string(8) "Approved" } ["PP_PayAdv_errorMessage"]=> string(0) "" ["wa_Utxz4bR8ddEapcGsUSwgniQL2_Items"]=> string(483) "37|WAECART|Hot Wheels Redline Earrings|WAECART|

Sign in to reply to this post
loading

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...