Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP Direct Payments & Express Checkout Support


dynamoeffects

Recommended Posts

Yeah, sorry you went through the trouble in doing that, the new version has a CVV2 popup information window that shows that. That was something that SteveDallas sent me months ago to add to the new version along with little credit card icons that go to the right.

 

The new version is ready, so I'll try to release it today to get some feedback about the new features. I need to fix one or two more items on the todo list and test out IPN some more, but looks like it's good to go.

 

There was no trouble. This is something that I've had in place for a while, it just never occurred to me until yesterday that I could put it up as a contribution. But if you're going to include it in the new version then I won't worry about it. I really appreciate all of the work you put into this. Our business wouldn't be nearly as smooth as it is if it weren't for your work. I plan to show that appreciation in a little bit more of a monetary way, if you know what I mean.

Brian (Schadeboy) Schade

CIO and Webmaster

Twilight Teez, LLC

 

"Camping is nature's way of promoting the hotel industry."

-Dave Barry

Link to comment
Share on other sites

Hi there folks,

 

A UK client wants to use WPP on a store. Can anyone please give some updates on what the state of the contribution is when using it on a UK store.

 

Harald's PayPal WPP UK APi

 

Harald's one is easier to install and there doesn't seem to be any real difference between the two that I can see except that the UK version of Harald's WPP doesn't support American Express however Dynamoeffects APi is on the American Paypal system and does support American Express. Can someone please give an insight in to fuctionalities of this WPP contribution please.

 

And does Dynamoeffects contribution accomodate UK maestro/solo cards without hassle? There were some issues last year with these things but I can't seem to find the answers in these pages.

 

Your help will be appreciated. Thanks

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Sounds like you know about all there is to know. There are currently no known issues with UK merchants using this module.

Ollyno1uk2 is probably the most active UK user using this module if you want to ask someone with firsthand experience.

 

By the way, I'm working on finishing up the new version of the module this weekend and suggest waiting for that version, especially if ease of install is an issue. I've compartmentalized a lot of the code so that less than half of the files that needed to be modified before need to be modified now.

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

Many thanks for the reply Brian/Dynamoeffects!

 

I have no real experience of using this contribution/module. The only recollection I have is adding it to a demo store to test out feasibility/functionality sometime last year. Recently I did the same for the above mentioned WPP module from Harald and was trying to compare notes because one of the WPP modules will be added to a live store in the coming weeks.

 

Brian, can you please confirm two things please:

 

i) Does your contribution run on the US Paypal APi system

ii) And does it accept processing of UK debit cards (maestro/solo)

 

If I have this down correctly and UK debit cards like maestro/solo can be used on this contribution, the use of American Express is a plus point simply because it's another card/option for customers to pay. In the event PayPal ever block out non US PayPal sellers thus forcing them on the UK APi then it's not hard at all to switch over to a UK APi WPP contribution and give up processing American Express for the time being.

 

If that is the case, in essence it's very practical for all UK based sellers to use this contribution up until (or unless) PayPal force non US sellers to switch over... and they may decide never to do it.

 

Thanks for the tip about Ollyno1uk2 and the new version that will be released by your good self. I appreciate it very much.

 

Cheers ;)

Edited by chooch

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Yes to both points. However, regarding your comment about AMEX cards, they don't work in this module either. It's not documented, but it appears as though it's not available to UK merchants through either API. In this next version that I'm working on finishing up now, AMEX will not show up if the UK features are turned on.

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 I understand. Thanks again for your comments.

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

I've never been able to replicate it, so I've marked it off as a mis-installation. Do you have register globals enabled or disabled?

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

Version 1.0.0 is now available for download.

 

There have been large changes in the codebase, so let me know if you experience any problems. Sorry to tell you all that you'll have to uninstall any previous version of the contribution, but if you left the code comments, it shouldn't be too bad. Plus with the way it's designed now, all business code is stored within one of two directories (plus the module itself), so future updates shouldn't be any more complicated than overwriting those directories.

 

Post any problems you encounter here.

 

kk5t, I tested it with register globals on and off and I have not been able to replicate the problem that you're experiencing. Try the new version and see if that fixes 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

I just downloaded it to view the files and got to say this looks good.

 

I will add this contribution to a demo store when I get back from work this evening. Just one quick question though, the ability to make refunds has been added but are they full or partial?

 

For example, a customer pays $50 to buy 50 candles. The shop owner realises after the order is placed he has only 42 in stock so contacts the customer. The customer decides he wants the 42 but no longer wishes to have the other 8 when they are in stock. Does this mod facilitate a partial refund?

 

Thanks Dynamoeffects

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Yes it does. Simply select "Full" or "Partial" from the drop down and enter in the amount to refund. It won't let you refund more than you received.

 

By the way, you'll need to access your admin through HTTPS in order to access those features.

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

Paypal's TOS says:

 

"You must provide your customers with the option of not storing their personal information, including but not limited to their email address, shipping/billing address, and financial information."

 

Now should I be expecting that this contribution will supply this option or do I have to look to another contribution to give customers the option to not have an account. Or how is this dealt with? (and I imagine this is for Direct Payment customers too)

 

 

Thanks!

Link to comment
Share on other sites

That statement only has to do with Express Checkout, and yes it is possible as long as you don't take that statement literally. No store would be able to operate if it couldn't store shipping and billing addresses for the orders.

 

Set the option "Express Checkout: Automatic Account Creation" to "No" and only a temporary account is created that is later deleted. They will be able to checkout without setting up an account by using Express Checkout.

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

Thank you! That's what I thought (a store can't run without storing info and I assumed it was for Express Checkout customers but wasn't sure). I was just concerned that whomever at Paypal reviews my site to see if it's compliant will be a stickler for the rules to be followed absolutely and literally.

Link to comment
Share on other sites

Brian - awesome to see the update. Thank you so much.

 

I am not in a position to perform an update just now... tis a busy time of year for me to risk it. But I will eventually.

 

for the time being, is their any chance you can help me get the error messages to appear if the customer gets looped back to the payment page... as discussed way back

 

 

appreciate it

 

 

Dave

-Dave

Link to comment
Share on other sites

I honestly don't know what's going on with that if it's not just a simple installation problem. This was developed in RC1 and then RC2 with register_globals initially off, then turned on and tested thoroughly and errors have always shown up on the checkout_payment.php page. The problem is either:

 

A) Not all code has been integrated

B) Another contribution is interfering

 

By the way, is register_globals on or off on your server?

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

Hi Brian,

 

Firstly can I just say, this contribution is awesome, I absolutely love it, all except one little bit anyway.

 

I've installed everything, followed the readme perfectly and got everything set up as you would do, but I keep getting the following errors

 

Warning: Invalid argument supplied for foreach() in .../includes/modules/payment/paypal_wpp.php on line 1204

Warning: Invalid argument supplied for foreach() in .../includes/modules/payment/paypal_wpp.php on line 1108

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

 

Sorry about the addresses not being complete, thats the beginning of the catalogue, I can't show the rest due to my this being a site built for a client, sorry.

 

Any help on this would be greatly appreciated, this is the only thing stopping me from putting this site live.

 

Regards and Thanks in Advance

 

Mark

Link to comment
Share on other sites

Sounds like you're using an older version of osCommerce. You'll need to apply a bug fix to checkout_process.php by changing these lines:

 

// load the before_process function from the payment modules
 $payment_modules->before_process();

 require(DIR_WS_CLASSES . 'order_total.php');
 $order_total_modules = new order_total;

 $order_totals = $order_total_modules->process();

 

to this:

 

//---PayPal WPP Modification START ---//
 //Fixes Bug#1629: http://www.oscommerce.com/community/bugs,1629
 require(DIR_WS_CLASSES . 'order_total.php');
 $order_total_modules = new order_total;

 $order_totals = $order_total_modules->process();

// load the before_process function from the payment modules
 $payment_modules->before_process();
//---PayPal WPP Modification END ---//

 

I'll add that to the ReadMe.

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

Can you post what the incorrect address looks like? Also post the first half of your /includes/configure.php file above the "DIR_WS_INCLUDES" line.

 

More than likely it's because the configure.php file isn't setup correctly.

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

Can you post what the incorrect address looks like? Also post the first half of your /includes/configure.php file above the "DIR_WS_INCLUDES" line.

 

More than likely it's because the configure.php file isn't setup correctly.

 

http://quantrum.co.uk/excelldirect/excelld...opping_cart.php

 

thats the address line, it happens as soon as you press the paypal pay button on any page.

 

and the top of the config box is

<?php
 define('HTTP_SERVER', 'http://quantrum.co.uk');
 define('HTTPS_SERVER', 'http://quantrum.co.uk');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'quantrum.co.uk');
 define('HTTPS_COOKIE_DOMAIN', 'quantrum.co.uk');
 define('HTTP_COOKIE_PATH', '/excelldirect/');
 define('HTTPS_COOKIE_PATH', '/excelldirect/');
 define('DIR_WS_HTTP_CATALOG', '/excelldirect/');
 define('DIR_WS_HTTPS_CATALOG', '/excelldirect/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');

Link to comment
Share on other sites

Whoops, looks like you did find a bug that would affect people with their stores in a directory. Try this fix for me and if it works, I'll release an updated version of the module. In /includes/paypal_wpp/paypal_wpp_include.php, find this line:

 

<td align="center"><a href="<?php echo tep_href_link(str_replace('/', '', $_SERVER['SCRIPT_NAME']), 'action=express_checkout&return_to=' . $return_to, 'SSL'); ?>"><img src="<?php echo FILENAME_EXPRESS_CHECKOUT_IMG; ?>" border=0></a></td>

 

and change it to this:

<td align="center"><a href="<?php echo tep_href_link(basename($_SERVER['SCRIPT_NAME']), 'action=express_checkout&return_to=' . $return_to, 'SSL'); ?>"><img src="<?php echo FILENAME_EXPRESS_CHECKOUT_IMG; ?>" border=0></a></td>

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

Hey Brian,

 

I just wanted to let you know that I waited the whole week for this contribution to come out! I was very excited when I saw it uploaded (I was going to install the July version, but saw in the forums that you were in the process of uploading this new version). :) I installed it and most of it works. But I'm running into about four problems.

 

1. In orders.php when the admin goes to see the order details, osCommerce returns this error above the details, did I miss an SQL code that I had to run?:

1146 - Table '330783_shop.orders_status_history_transactions' doesn't exist

SELECT ot.orders_status_history_id as id, ot.transaction_id, ot.transaction_type, ot.payment_type, ot.payment_status, ot.module_code, ot.transaction_amount, ot.transaction_avs as avs, ot.transaction_cvv2 as cvv2, ot.transaction_msgs as msgs, o.orders_status_id as status_id, o.date_added as date FROM orders_status_history o LEFT JOIN orders_status_history_transactions ot ON (o.orders_status_history_id = ot.orders_status_history_id) WHERE o.orders_id = '111' ORDER BY ot.orders_status_history_id ASC

2. While going through the checkout process, after confirming the order, osCommerce returns the customer back to the checkout_payment.php page. (I believe I have the old version of osCommerce too, so I implemented the fix you made for quantrum at post #3043.

 

3. While in the admin payment modules section, the last three options of the module only show up as blank text boxes (I'm assuming these are dealing with the refunding process)

 

4. While on the checkout payments page, when clicking on the CVV "What's This" link, I receive a 404 error:

The requested URL /shop//shop/includes/paypal_wpp/cvv2info.php was not found on this server.

I tried tweaking the code so it wouldnt repeat /shop, but ended up with another error dealing with forbidden access.

 

I know you worked hard and fully support you! Thank you so much for your hard work!!!

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