Forums / Addon Payment Modules / PayPal Express Checkout Using NVP 84.0 [Support Thread]

PayPal Express Checkout Using NVP 84.0 [Support Thread]

Results 1 to 20 of 33
31 Dec 2013, 15:44
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

PayPal Express Checkout Using NVP 84.0 [Support Thread]

This Zen Cart payment method replaces the processing for the built-in PayPal Express Checkout (paypalwpp) module, using the more recent Name/Value Pair (NVP) interfaces introduced in NVP interface versions 63.0 to 84.0; refer to PayPal Name/Value Pair API Developer Guide for additional information. This payment method is, essentially, a building block for future payment methods that might choose to implement additional PayPal functionality.

If you have previously installed one of the built-in PayPal payment methods, that payment method must be removed before you can install the paypalwpp_v84 payment method.

This payment module was created using the source code for the Zen Cart v1.5.2-RC2 paypalwpp payment method, so those PayPal changes and payment method improvements have been built in! That said, there are a couple of differences in the module's operation (besides the interface change):
  1. Unlike the built-in PayPal Express Checkout payment method, this plugin supports only the PayPal mode of operation. If your store requires either PayFlow-UK or PayFlow-US mode, you should continue to use the built-in version.
  2. This payment method introduces another selection for the Require Confirmed Address setting — Always. This setting's choices are now:
    [LIST]
  3. No … a "Confirmed Address" from PayPal is never required. This setting is the default.
  4. Yes … a "Confirmed Address" is required only if the customer is not currently logged in, i.e. the customer has clicked the "PayPal Express Checkout" button to start the payment process.
  5. Always … a "Confirmed Address" is always required — even if the customer is logged in. If your store does not collect full address information during account creation, I suggest that you use this setting.

[*]The display of an order's PayPal history now includes the entire history as part of the Customers->Orders->Edit Order display. The following screenshot shows, for example, a transaction that was paid using the payment method, disputed and subsequently resolved.Attachment 13626
[/LIST]
I'll be uploading the module to the Plugins area shortly and will post here when I've got a link.
31 Dec 2013, 16:25
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

Once approved, the payment method can be downloaded here: http://www.zen-cart.com/downloads.php?do=file&id=1805
02 Jan 2014, 19:58
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

The payment method is now available for download.
31 Jan 2014, 15:52
#4
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Posts:
43
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

Can I use this with PayPal Payments Pro?
31 Jan 2014, 16:07
#5
satu avatar

satu

New Zenner

Join Date:
Jan 2007
Posts:
43
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

I installed it and I can't use the PayPal Payments Pro with it.
31 Jan 2014, 20:15
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

Satu:

Can I use this with PayPal Payments Pro?


Satu:

I installed it and I can't use the PayPal Payments Pro with it.

Sorry, I was away from the computer, but you arrived at the correct answer. That's not to say that it can't be made to work with PayPal Payments Pro, but I don't have a facility to test such an interface.
09 Mar 2014, 16:15
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

I've updated the plugin to v1.1.0 (just submitted to the Plugins area). I'd forgotten to include the license.txt file in the original release and have added some additional notification points to allow external customization. No need to uninstall/re-install; there are no changes to the payment method's configuration keys.
21 Mar 2014, 18:11
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

The updated version is now available for download in the Plugins area.
30 Jul 2014, 13:20
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

I've submitted v1.1.1 to the plugins for review; it includes the correction posted by DrByte here for the main paypalwpp module (handling of PayPal error 10486).
10 Aug 2014, 11:53
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

v1.1.1 is now available in the Plugins area for download.
28 Aug 2014, 12:41
#11
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

In file tpl_shopping_cart_default.php is there only one line change

from;

if (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True')

To;

if ( (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True') || (defined('MODULE_PAYMENT_PAYPALWPP_V84_STATUS') && MODULE_PAYMENT_PAYPALWPP_V84_STATUS == 'True') ) { //-20131230-lat9-paypalwpp_v84-c
28 Aug 2014, 12:47
#12
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

Yes, just that one line is changed.
28 Aug 2014, 13:36
#13
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

lat9:

Yes, just that one line is changed.


I have found a '}' in the file I have that I cannot relate it to anything. So instead of one line copy, I did all, including the comments, for the express checkout.

It may be an idea to be added to the next upgrade, instead of up-loading the file tpl_shopping_cart_default.php you give instructions on changing that bit of code. I did find I had other code in my file that was needed so I had to do a find & replace. (only an idea)

Thanks for the mod though
28 Aug 2014, 14:17
#14
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

Just found a file I have not uploaded yet, ipn_main_handler.php. What changes are in that?

andyb
28 Aug 2014, 15:04
#15
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

adb34:

Just found a file I have not uploaded yet, ipn_main_handler.php. What changes are in that?

andyb

Just search for lat9, each of the changes is marked. There are no functional changes, just the addition of one notifier to allow the plugin's observer to grab and process and another section that allows currently unsupported IPN returns to be processed.
28 Aug 2014, 15:11
#16
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

lat9:

Just search for lat9, each of the changes is marked. There are no functional changes, just the addition of one notifier to allow the plugin's observer to grab and process and another section that allows currently unsupported IPN returns to be processed.


OK thanks for the info.

Happy Bunny
23 Oct 2014, 22:56
#18
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

v1.1.2 is now available for download from the Plugins!
16 Jun 2015, 23:22
#19
subaru_club avatar

subaru_club

New Zenner

Join Date:
Oct 2011
Posts:
3
Plugin Contributions:
0

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

I am getting this error when trying to test in sandbox mode:

Dear store owner,
An error occurred when attempting to initiate a PayPal Express Checkout
transaction. As a courtesy, only the error "number" was shown to your
customer. The details of the error are shown below.

10002
Security error
Security header is not valid



What did I do wrong?

D.
17 Jun 2015, 13:06
#20
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: PayPal Express Checkout Using NVP 84.0 [Support Thread]

You are most likely using "live" credentials on the sandbox (or vice versa).

Unless you've got PayPal-related customizations for your shop, I'd suggest using the built-in PayPal Express Checkout payment method; I put this version "out there" as a stepping-stone for other developers who wanted to use different PayPal APIs that require a more recent API version (84 vs 61).