Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

I operate my store from the UK, and have the latesest version.

 

PayPal contacted me this afternoon after looking at my store. I was told that there should be a PayPal button on the page before the log in page, so I take it they mean 'shopping_cart.php'

 

Does anyone know how hard this would be to do, I have 7 days to update it.

 

Regards

Frank

Link to comment
Share on other sites

According to their documentation, this contribution is compliant:

Add the PayPal choice at the top of the first page of your checkout process before you ask for the shipping address or payment method.

Website Payments Pro Integration Guide - August 2006 - Pg 58

 

In osCommerce, the shopping_cart.php page isn't apart of the checkout process. On the other hand, it can be added to any page simply by adding a link to /ec_process.php . You can copy the code from the checkout_shipping.php page. Everything after that will be taken care of automagically.

Edited by dynamoeffects

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

According to their documentation, this contribution is compliant:

 

Website Payments Pro Integration Guide - August 2006 - Pg 58

 

In osCommerce, the shopping_cart.php page isn't apart of the checkout process. On the other hand, it can be added to any page simply by adding a link to /ec_process.php . You can copy the code from the checkout_shipping.php page. Everything after that will be taken care of automagically.

 

 

I tried copy and paste what I thought was the code to shopping_cart.php but I couldn't get it to work, I would really apprecite it if you could give me the code to add to shopping_cart.php

 

Thanks Frank

Link to comment
Share on other sites

<a href="<? echo tep_href_link('ec_process.php', '', 'SSL'); ?>"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0></a>

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

Thanks for taking the time to reply, it works great, thanks.

 

Frank

 

Hi all. I seem to be having some bugs regarding paypal and my postage costs.

 

ive run a few tests and when i go to pay with paypal the postage cost is different to what is stated in my checkout area.

Any one have any ideas why this is happening??

 

My store is www.indulgencsoaps.co.uk/shop

 

Sophie

Link to comment
Share on other sites

Thanks for taking the time to reply, it works great, thanks.

 

Frank

 

Hi all. I seem to be having some bugs regarding paypal and my postage costs.

 

ive run a few tests and when i go to pay with paypal the postage cost is different to what is stated in my checkout area.

Any one have any ideas why this is happening??

 

My store is www.indulgencsoaps.co.uk/shop

 

Sophie

Link to comment
Share on other sites

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_EC_PROCESS' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/icecream/public_html/catalog/ec_process.php on line 10

 

had a question about the above code, where did I go wrong??

Link to comment
Share on other sites

@Indulgence_soaps: Which version of the module are you using? What shipping contributions have you installed?

 

@tomtom98: Complete the changes in the /includes/filenames.php file.

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

@Indulgence_soaps: Which version of the module are you using? What shipping contributions have you installed?

 

@tomtom98: Complete the changes in the /includes/filenames.php file.

 

Hi im not sure which module im using, This oscommerce thing was a free download from my hosting company servage

shipping contributions : table rate

 

Zone Based Rates

 

Enable Zones Method

True

 

Tax Class

--none--

 

Sort Order

1

 

Zone 1 Countries

GB

 

Zone 1 Shipping Table

0.1:1.62,0.25:1.90,0.5:2.22,0.75:2.62,1:3.00,1.25:4.95,1.5:5.7,1.75:6.45,2:7.2,2

.25:7.95,2.5:8.7,10:10.50,30:12

 

Zone 1 Handling Fee

0

Link to comment
Share on other sites

Post the payment modules that you have installed.

 

I say this because I wouldn't expect that this module would be installed by default, while your problem sounds much more like a common problem with the PayPal IPN 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

Hi,

 

I think I have installed eveything correctly and when I go and test the checkout like a customer in test mode, when I click checkout I get the following error

 

Fatal error: Call to undefined function: tep_paypal_wpp_enabled() in /home/icecream/public_html/catalog/login.php on line 18

 

 

Anythoughts??

 

I also used the beyond compare to make all the changes that was mentioned in the index.html file provided with the download.

Link to comment
Share on other sites

Post the payment modules that you have installed.

 

I say this because I wouldn't expect that this module would be installed by default, while your problem sounds much more like a common problem with the PayPal IPN module.

 

The only payment modules i have installed are cash on delivery and paypal

Link to comment
Share on other sites

@tomtom98: Include all changes found in /includes/functions/general.php

 

@Indulgence_soaps: This support thread is for PayPal Website Payments Pro, a $20 service from PayPal. Try this support thread as I believe your problem is very common: http://www.oscommerce.com/forums/index.php?showtopic=179917

 

Actually, I just read the responses. The suggestion is to install this PayPal IPN module: http://www.oscommerce.com/community/contributions,2679

Edited by dynamoeffects

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

@tomtom98: Include all changes found in /includes/functions/general.php

 

@Indulgence_soaps: This support thread is for PayPal Website Payments Pro, a $20 service from PayPal. Try this support thread as I believe your problem is very common: http://www.oscommerce.com/forums/index.php?showtopic=179917

 

Actually, I just read the responses. The suggestion is to install this PayPal IPN module: http://www.oscommerce.com/community/contributions,2679

 

 

ok so I got that fixed, but now I get this message

 

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_EC_PROCESS' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/icecream/public_html/catalog/ec_process.php on line 10

Link to comment
Share on other sites

@tomtom98: Include all changes found in /includes/functions/general.php

 

@Indulgence_soaps: This support thread is for PayPal Website Payments Pro, a $20 service from PayPal. Try this support thread as I believe your problem is very common: http://www.oscommerce.com/forums/index.php?showtopic=179917

 

Actually, I just read the responses. The suggestion is to install this PayPal IPN module: http://www.oscommerce.com/community/contributions,2679

 

 

ok so I got that fixed, but now I get this message

 

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Warning: main(includes/languages/english/FILENAME_EC_PROCESS) [function.main]: failed to open stream: No such file or directory in /home/icecream/public_html/catalog/ec_process.php on line 10

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_EC_PROCESS' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/icecream/public_html/catalog/ec_process.php on line 10

Link to comment
Share on other sites

You still haven't included all of the changes in includes/filenames.php or didn't uploaded the changed file.

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

You still haven't included all of the changes in includes/filenames.php or didn't uploaded the changed file.

 

 

LOL, well I think I have it all working, quite a few changes I missed, I missed the language/english/ ones. Thanks for the help

Link to comment
Share on other sites

Brian you do an amazing service here with your dilligent support. I Just want to say thanks and ask a question

 

I havent updated PayPal since I opened up shop over a year ago - its all working fine except I get occassional reports from customers about getting stuck in a loop when using EC, and store integration is basic but lacks order details etc. Well I looked up where to start on updating, and can not tell for sure what version (or contribution) I am using. Can you help me identify what mod I have installed? then any advice on the easiest upgrade path would be apreciated.

 

I believe I have installed: PayPal-WPP-0.1_1 with the paypal_wpp.php file having date of 11/1/2005. Is this your mod??? you can visit my shop here if it helps confirm my existing version.

 

That package looks vastly different form paypal_wpp_0.9.1. Any advice on upgrading? I am good with winmerge, but still any advice appreciated before I get started. I will start with step 1 :)

 

1. BACKUP

2.

 

 

Thx man.

-Dave

Link to comment
Share on other sites

No, unfortunately the contribution you installed is completely different from mine. You'll need to first remove the existing module in your admin under Modules -> Payment, then go through the other contribution's installation instructions and work backwards removing all code. Then install this one.

Edited by dynamoeffects

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

No, unfortunately the contribution you installed is completely different from mine. You'll need to first remove the existing module in your admin under Modules -> Payment, then go through the other contribution's installation instructions and work backwards removing all code. Then install this one.

 

Did just that on Sunday - went slow and easy. The store is heavily modified to begin with so thank god for Winmerge. I had 2 files where merges were a bit tricky.

login.php

checkout_shipping.php

I stil dont have login.php layout correct... but working on it. I stink at html.

 

I Removed the existing module, removed unneeded files, uploaded new and edited files, for 3 languages. boom! works like a charm. I made some minor language edits, all in all went superb. Orders are fully detailed. Great work.

 

A couple minor questions, probably been asked, but the search function on these forums really stink :)

Does the paypal box have to appear at the top of the shipping page? Not fond of that.

Can I move that box to below the checkout button on the shopping cart page? and still be within the TOS

 

I added one simple tweak that really improved the look (for me at least) of checkout payment by adding the credit card logos to the right of the PayPal Direct Payment text

 

Changed Line 119 and 197 of catalog/includes/modules/payment/paypal_wpp.php

from

		$confirmation = array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE,

to

		$confirmation = array('title' => MODULE_PAYMENT_PAYPAL_DP_TEXT_TITLE . MODULE_PAYMENT_PAYPAL_DP_TEXT_CCLOGOS,

 

then added to catalog/includes/languages/your-language/modules/payment/paypal_wpp.php

  define('MODULE_PAYMENT_PAYPAL_DP_TEXT_CCLOGOS', ' <img src="/images/your_cc_logos.gif">');

 

then just upload a gif or jpg no larger than about 180x30 to your /images directory. A simple little add but others may find helpfull.

-Dave

Link to comment
Share on other sites

A couple minor questions, probably been asked, but the search function on these forums really stink :)

 

You should use google instead with this as your search query:

your search query site:www.oscommerce.com/forums

 

Does the paypal box have to appear at the top of the shipping page? Not fond of that.

Can I move that box to below the checkout button on the shopping cart page? and still be within the TOS

 

This is a point of contention that can go either way. According to the API documentation:

Add the PayPal choice at the top of the first page of your checkout process before you ask for the shipping address or payment method.

 

That would mean at the top of the checkout_shipping page, but PayPal contacted someone a page back in this thread that they need to add it to their shopping cart page. The only problem is that the shopping cart in osCommerce isn't apart of the checkout process, and I don't think that they realized it. That is, you can checkout without ever looking at the shopping_cart.php page, so it would have to be on the checkout_shipping.php page in order to prompt the user before asking for any additional information.

 

But if you want to add the button to your shopping_cart.php page, look one page back for the code. I will probably add it in a future release.

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

Hi

 

Is the UK version being supported here at all?

 

I have the UK pro (not paypals own) version and it works ok but today I got a call from paypal saying that I am not showing the express checkout near enough to the front page or somthing.

 

Has anyone else had a similar experience?

 

Thanks

 

Olly

Link to comment
Share on other sites

The UK version that I created is still supported. Looks like they've changed their implementation rules, but I haven't heard anything. Check one page back for the code to modify your shopping_cart.php file.

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

Question about the payment notification email I get from Paypal when someone checks out with WPP.

 

The "Item Number" seems to be really messed up.... anybody know what would cause this (see below) :

 

Below is a portion of the email I get back from paypal :

 

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

PayPal Shopping Cart Contents

 

Item Name: Grand Rapids Melissa Anne Swivel Barstool 6504BS

Item Number: 774{16}178{15}156{21}199{txt_19}{17}193{18}197 (6504BS)

 

 

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

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