Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / PayPal WPP && Cardinal

PayPal WPP && Cardinal

Views: 1,447

Results 1 to 9 of 9
4 Jun 2015, 5:43 PM
#1
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

PayPal WPP && Cardinal

clean Zen Install
no mods

Paypal Express installled and working fine ( after a change suggested by DR Byte in https://www.zen-cart.com/showthread.php?213929-PayPal-problems-unable-to-process-orders-from-the-geographic-region-you-selected)

PaypalWPP working fine with no Cardinal Credentials added to it.

As soon as I add Cardinal Credentials I get problems. From Checkout Confirmation I am returned to Checkout Payment with 'We were not able to process your order. Please select an alternate payment method, or contact the store owner for assistance.'

I am pretty sure that the cardinal credentials are right because in their control panel I can see the request. For instance:

Lookup Date : 06/04/2015 13:33:21 EDT
Authenticate Date :
Merchant Id : [email protected]
Order Number : 8f1d01cd9b0d7eadedc28651b5e366c4
Transaction Id : FywMXlhsEFwl0N95I0j0
Credit Card : ######******####
Amount : £0.10GBP
ACS URL : https://sas.sermepa.es/sas/Secure
Bin Bypassed Flag : false
DS Response Time : 1641 ms
Enrollment Status : Y
Authentication Status :
Signature Status :
CAVV / AAV :
ECI : 01
XID : Rnl3TVhsaHNFRndsME45NUkwajA=
ErrorNo : 0
ErrorDesc :
Single Message Enabled : true
Single Message Authenticate Sent: false
AuthenticationPath: UNKNOWN
Lookup Detail:
Authenticate Detail:

So am pretty sure that communication is at least initiated.

The only logs I receive are a Paypal log that seems to end early. Like this:

Jun-04-2015 17:33:20 (1433439200)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(
[AMT] => 0.1
[ITEMAMT] => 0.1
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)
AFTER doing line-item calcs: Array
(
[AMT] => 0.1
[ITEMAMT] => 0.1
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
[L_NUMBER0] => MSIMEXP
[L_NAME0] => Microsoft IntelliMouse Explorer [26] Model: PS/2
[L_QTY0] => 1
[L_AMT0] => 0.1
)

=================================

Jun-04-2015 17:33:20 (1433439200)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 0.10
[AMT] => 0.10
[ITEMAMT] => 0.10
)


difference: 0 (abs+rounded: 0)

Jun-04-2015 17:33:20 (1433439200)
getLineItemDetails 10
subtotals balance - okay

Jun-04-2015 17:33:20 (1433439200)
before_process - DP-1
Beginning DP mode

Any help gratefully received :-)

11 Jun 2015, 3:05 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: PayPal WPP && Cardinal

Further to this I am getting the following pop-up intermittently:

Attachment #15357

Which occurs on submitting the form on Checkout Payment.

13 Aug 2015, 2:35 PM
#3
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: PayPal WPP && Cardinal

OK, I am now on my third clean install and continue to get this issue.

If someone could explain to me exactly what the flow should be through the checkout process then that would be a help. I have never seen it actually work so it is hard to interpret what it is actually meant to do. When does the 3d popup appear and how is that information carried through the checkout procedure?

Hopefully ....

13 Aug 2015, 2:50 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,084
Plugin Contributions:
56

Re: PayPal WPP && Cardinal

What version of PHP is being run for the site? Is the Zen Cart installation in the site-root or in a sub-directory?

13 Aug 2015, 3:06 PM
#5
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: PayPal WPP && Cardinal

PHP 5.4.40

Installation is in a sub-directory

13 Aug 2015, 5:30 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,084
Plugin Contributions:
56

Re: PayPal WPP && Cardinal

Hmm, I'm remembering some postings a couple of months ago about someone having an issue with Authorize.net when a v1.5.4 Zen Cart is installed in a sub-directory -- also having some 'interference' with the ajax.php module. Could be related.

13 Aug 2015, 6:09 PM
#7
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: PayPal WPP && Cardinal

Thanks for that. It was swguy so have asked if he had an answer. We will see.

Otherwise I think I will be looking at the javascript tomorrow. Not knowing what it is meant to do as far as flow through the checkout doesn't help me. I wouldn't normally use PP pro so have never seen this before.

13 Aug 2015, 6:20 PM
#8
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: PayPal WPP && Cardinal

Yes, and we have success by turning of the ajax checkout. So, it looks like the issue is with the ajax calls when the installation is in a subdirectory.

Scott had some initial ideas about that and the way that the URLs are used in the JS which I will have a look at tomorrow.