Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Okay...

 

I have everything working with this mod except...I don't get much order detail when using direct pay. All I get that is useful is shipping address and order total, but I really need to be getting more detail such as item number, description, and any options selected.

 

Does anyone have a fix for this? I thought that IPN was supposed to handle this, but it seems to be completely separate from direct payment.

IPN is a completely different mode of payment processing. The module sends only the basic information necessary to make a successful transaction because my main goal has been to make the module as rock solid as possible. Now that I've freed the contribution from PEAR modules, I'll begin rounding out the optional features that I've ignored, as free time opens up.

 

Hi guys,

ive installed the contribution, and after the confirmation i received the following error msg

 

PayPal WPP installation incomplete! There should be XML files located in /var/www/vhosts/jrinternationalinc.com/httpdocs/osCommerce3includes/!

That error message got truncated. You didn't upload the XML files found in the ZIP file under /catalog/includes/wpp_xml

 

Is there a place we can download this module to add it into our current OSCommerce sites, could you please let me know?

http://www.oscommerce.com/community/contributions,3647

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.

Link to comment
Share on other sites

Ok great module, i actually got furhter with this than ne other one, but there is one proplem, i tried your new module dyno, paypal_wpp_0.8, it works great, i was able to get access to paypal but only through http:, when it goes to https: switches over it says this

 

PayPal WPP installation incomplete! There should be XML files located in /var/www/vhosts/tarojoenterprises.com/httpdocs/store/includes/!

 

Now this is through my https ok, and i know i have the XML filse located in the right area, but i tried to play with my config file wich finally let me find the cert in https: but i had to change the:

define('HTTP_CATALOG_SERVER', 'https://www.tarojoenterprises.com');

in my config file, that found the cert in my https:// Cause i was getting a error about my cert first, now im getting this? Got ne ideas? I have been trying to figure out why even though its pointing to httpdocs, i need it to point to httpsdocs? HELP!!!! LOL GREAT Module though...

 

Jon

Edited by JJ21
Link to comment
Share on other sites

Greetings

 

First off, Thank you for creating this contribution and your ongoing support.

 

Question: (apologies I am a newb) I installed the add-on and modified my existing files to remove the PWA contribution. The PayPal WWP is tested working, via the express checkout.

 

However, I can not figure out for the life of me though, how to direct pay. In other words bypassing the paypal account creation and using the Direct Payment method. Please withhold your laughter.

 

 

- Eric

:D

Link to comment
Share on other sites

Hi guys,

ive installed the contribution, and after the confirmation i received the following error msg

 

PayPal WPP installation incomplete! There should be XML files located in /var/www/vhosts/jrinternationalinc.com/httpdocs/osCommerce3includes/!

 

Hi again,

I already uploaded the files,

it's correct /httpdocs/osCommerce3includes/!

there's not missing a / ? like /httpdocs/osCommerce3/includes/! ?

 

thanks again for your time and help

Link to comment
Share on other sites

I tested out both of your stores and see the error, but the XML files are, in fact, in the right place. Very strange. For both of you, please post what you have set in your includes/configure.php file for the two lines that look like this:

 

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_FS_CATALOG', '/var/www/vhosts/website/httpdocs/');

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.

Link to comment
Share on other sites

I tested out both of your stores and see the error, but the XML files are, in fact, in the right place. Very strange. For both of you, please post what you have set in your includes/configure.php file for the two lines that look like this:

 

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_FS_CATALOG', '/var/www/vhosts/website/httpdocs/');

 

Thxs dynamofx

here's a part of the config file

 

define('HTTP_SERVER', 'http://jrinternationalinc.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://jrinternationalinc.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'jrinternationalinc.com');

define('HTTPS_COOKIE_DOMAIN', 'jrinternationalinc.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

Link to comment
Share on other sites

So the Address Override finally works, eh? Nice. But the module is still in beta. So close, and yet so far...

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

So the Address Override finally works, eh? Nice. But the module is still in beta. So close, and yet so far...

 

Better late than never, I never say. That "b" is just a red herring. It makes people think that I actually put effort into developing this module.

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.

Link to comment
Share on other sites

I tested out both of your stores and see the error, but the XML files are, in fact, in the right place. Very strange. For both of you, please post what you have set in your includes/configure.php file for the two lines that look like this:

 

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_FS_CATALOG', '/var/www/vhosts/website/httpdocs/');

 

 

Thanks for your support heres my config...

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.tarojoenterprises.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.tarojoenterprises.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.tarojoenterprises.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.tarojoenterprises.com');
 define('HTTP_COOKIE_PATH', '/store/');
 define('HTTPS_COOKIE_PATH', '/store/');
 define('DIR_WS_HTTP_CATALOG', '/store/');
 define('DIR_WS_HTTPS_CATALOG', '/store/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/var/www/vhosts/tarojoenterprises.com/httpdocs/store/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Link to comment
Share on other sites

Thanks for your support heres my config...

 

I got to looking at this part of the file....

 

  define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/var/www/vhosts/tarojoenterprises.com/httpdocs/store/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Now i chaged this:

 

define('DIR_FS_CATALOG', '/var/www/vhosts/tarojoenterprises.com/httpdocs/store/');

to this:

define('DIR_FS_CATALOG', '/var/www/vhosts/tarojoenterprises.com/httpsdocs/store/');

 

I know it looks the same but look carefully, i chaged the http to https for somer reason it can't go back and forth from my http to my https, but ne ways after you told me to post it dyno i was looking at it and noticed it. it fixed my problem and my site seems to be working just fine, besides i don't think it hurts to run the site in https most of the time ne way lol :) Thanks for the help will keep on letting you know about more bugs if i find ne.

 

Maybe you could tell me though why there are two shipping address in my colums? Thanks it is basically duplicated

Jon

Edited by JJ21
Link to comment
Share on other sites

It works, thanks alot guys and thank you dyno, great module, i have changed the file in the previous post from http to https and now i tested it live and it works with xpress and local, its great, thank you so much for the support....

 

Regards,

Jon

Link to comment
Share on other sites

Ok this is for sure now! If you have a two folder system, etc httpdocs, and httpsdocs, then this is what i did, only in the httsdocs includes/configure change the mention line above to https. now what this does it tells https docs to look for th XML files on the https side. It did not effect my site at all. So far the payment module is working great, i have ran about 8 different test on it and all seem to be working. Great module!

Have anyquestions just ask me.

 

 

Remember, IM using httpdoc and httpsdoc file system, so if you are and whenever you try to process credit cards with this change the above and it should work. Mine did, no problems so far!

Link to comment
Share on other sites

I tested out version 0.8b and it seems processing smoothly.

 

Just one quick observation:

 

When I need to edit shipping address, I got taken back to PayPal to do it (in version 0.8b). After I left PayPal and back to the checkout_shipping.php page again, I noticed that an account was created for me! The account won't be automatically deleted even after the checkout is successful and "Express Checkout: Automatic Account Creation" in configuration is set to "No."

 

If I go straight through the process without visiting PayPal twice (i.e. the second time to edit my shipping address), no account is created at the end of the checkout process. No traces at all.

 

May I know if I have done something wrong?

Link to comment
Share on other sites

When you want to edit your address during Express Checkout, it sends you back to PayPal to do it, as is described in the PayPal Integration docs. It's always done this, but I have it on the list of things to make optional.

 

All "Automatic Account Creation" does is it makes the account temporary or permanent. It will create an account no matter what.

 

When you said the second time that it didn't create a new account, that's probably because you already had a temporary account setup with the same email address, so a new one wasn't necessary.

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.

Link to comment
Share on other sites

I just released an update to the module since 0.8 seems to be stable. 0.8.1 sends additional information to PayPal such as items purchased, shipping total, tax total, and additional customer information.

 

Screenshots of how the module modifies a store have also been included.

 

If you installed 0.8b, there are four files that need to be overwritten:

 

/catalog/includes/modules/payment/paypal_wpp.php

/catalog/includes/languages/english/modules/payment/paypal_wpp.php

/catalog/includes/wpp_xml/doDirectPayment.xml

/catalog/includes/wpp_xml/doExpressCheckout.xml

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.

Link to comment
Share on other sites

Better late than never, I never say. That "b" is just a red herring. It makes people think that I actually put effort into developing this module.

 

:) I'm going to start putting "b"s into the version numbers of contributions too!

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Link to comment
Share on other sites

Greetings all,

I may have put this post in the wrong spot as I entered it in the main payment modules forum.....

 

 

I have the latest version of OSC and I installed the direct & express payment module

V0.8. The direct payment goes through without a problem. The Express payment does not. I am returned from paypal's website where I am asked to confirm the order in OSC. I do that and a error in red is returned. It says:

 

An error occured when we tried to process your credit card.

 

Transaction cannot complete. (10417)

The transaction cannot complete successfully. Instruct the customer to use an alternative payment method.

 

Not sure why I'm getting a credit card processing error when using express pay. Any help would be greatly appreciated.

Thanks

Link to comment
Share on other sites

In my attractively designed, yet understated README that's included with the module, one could look under "Troubleshooting" to find this tidbit of information:

 

Q: It's declining transactions and giving a 10417 error!

 

A: This means that the customer doesn't have enough money in their bank or on their credit card to pay for this purchase. Most of the time, Paypal is incorrect so you need to contact PayPal and ask them about it.

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.

Link to comment
Share on other sites

In my attractively designed, yet understated README that's included with the module, one could look under "Troubleshooting" to find this tidbit of information:

 

Q: It's declining transactions and giving a 10417 error!

 

A: This means that the customer doesn't have enough money in their bank or on their credit card to pay for this purchase. Most of the time, Paypal is incorrect so you need to contact PayPal and ask them about it.

Well, I realize you must run into alot of people who don't bother to read any of the troubleshooting tips. I did read that and it is not applicable. I have been using the same credit card and bank account with OSC as I have with my CubeCart shopping cart. Direct pay/express pay both work fine in CubeCart and the money is deducted and added in the proper places. Because of this fact I question why it would work in one shopping cart and not another. That doesn't point to a Paypal problem in my opinion.

Link to comment
Share on other sites

And what confuses me is that Paypal is returning, along with this error:

"An error occured when we tried to process your credit card"

 

My paypal primary account is tied to a bank account, my backup to that is a credit card. Paypal would have to be refusing both my bank account and my credit card which both are upstanding and work fine with Cube Cart.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...