Forums / PayPal Express Checkout support / cart vs expresscheckout in IPN notices

cart vs expresscheckout in IPN notices

Locked

Views: 1,728

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
31 Mar 2007, 12:51 PM
#1
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

cart vs expresscheckout in IPN notices

Hi,

Just a quick question. PayPal Express is playing nice (more or less) so far with our cart.

We have had two instances of the order being made and shown in our cart but the downloads did not become available. We have not figured out why just yet.

My question concerns how the cart is recording our sales. When we click on PayPal IPN to see the sales some show "cart" and some show "paypalexpress." I have not been able to figure out why or where the difference comes from.

Thanks

Rick

31 Mar 2007, 1:23 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: cart vs expresscheckout in IPN notices

do you have IPN and express checkout turned on?

Zen cart PCI compliant Hosting

31 Mar 2007, 7:51 PM
#3
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: cart vs expresscheckout in IPN notices

ExpressCheckout is when the person clicks the orange "Click to Pay with PayPal express" button and never goes through zencart's account creation process manually and doesn't change their order halfway into it. Basically.. if I want widget A.. and nothing else, i click on the PPExpress button and go through that checkout flow without changing anything (except maybe shipping method). If i finish the purchase like that.. its marked expresscheckout

If I'm in the express checkout and i decide i want to add widget B to the order.. then it will be marked as cart

1 Apr 2007, 3:00 AM
#4
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

Re: cart vs expresscheckout in IPN notices

Basically.. if I want widget A.. and nothing else, i click on the PPExpress button and go through that checkout flow without changing anything (except maybe shipping method). If i finish the purchase like that.. its marked expresscheckout

If I'm in the express checkout and i decide i want to add widget B to the order.. then it will be marked as cartOk, thanks, that makes sense.

do you have IPN and express checkout turned on?Yes, they are both turned on

1 Apr 2007, 6:08 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: cart vs expresscheckout in IPN notices

To add to the above, PayPal IPN transactions typically appear as "web_accept".
In Express Checkout, if there are any line-item details sent to paypal, the type will show as "cart", and no line-item details, then "express-checkout".
Line-item details are sent only if there are no discounts applied and all the math adds up properly according to PayPal's (overly limited and inflexible) formulae.
Thus, if any coupons or discounts apply to the order, it'll come as express-checkout (although other situations may also cause it to appear as "express-checkout", also).
Having only one item vs more-than-one item can also affect it.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Apr 2007, 6:28 AM
#6
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: cart vs expresscheckout in IPN notices

^^ actually, in the admin panel it shows "unique" for PayPal IPN payments.. at least it does on mine :P

1 Apr 2007, 6:54 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: cart vs expresscheckout in IPN notices

True, in the Zen Cart admin area, you'll see it as "unique" because the ipn_main_handler realized it needed to insert the record (that's how the PayPal IPN module works). Thus it updated it for processing purposes.
But the raw data that comes from PayPal for those will be web-accept (which you'll see on PayPal reports or transaction details).

I'm just adding additional info in case "that" arises as a question too.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Apr 2007, 1:07 PM
#8
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

Re: cart vs expresscheckout in IPN notices

Line-item details are sent only if there are no discounts applied and all the math adds up properly according to PayPal's (overly limited and inflexible) formulae.

So this is the reason that PayPal shows the line items only sometimes?Most of the time there is not a discount applied to our product sales but PayPal is not showing the line items for the most part. What are the other math functions that would determine whether a set of line items are shown?

Thanks

Rick

1 Apr 2007, 5:54 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: cart vs expresscheckout in IPN notices

It's discussed all over the forum.
Here's one:
http://www.zen-cart.com/forum/showthread.php?t=59424#post335837

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.