Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / Express Checkout issue with my downloadable products v1.3.7.1

Express Checkout issue with my downloadable products v1.3.7.1

Locked

Started by testuser on 15 Jul 2007, 8:17 PM · Views: 4,411

Results 1 to 20 of 25
This thread is locked. New replies are disabled.
15 Jul 2007, 8:17 PM
#1
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #1 by testuser

**10413 Transaction refused because of an invalid argument. See additional
error messages for details. - The totals of the cart item amounts do not
match order amounts. **

Product set to free, product is virtual, product has attribute with price ... paypal express checkout, customer gets sent in loop in checkout pages, Admin gets email with above error.

Checkout works fine for PayPal IPN...

Any ideas?If this is a bug?

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

15 Jul 2007, 8:26 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

First question ... why did you set your product settings that way ?

  1. A downloadable product doesn't need to be marked virtual.
  2. If you set the product to be "free" but made it priced-by-attributes and then added a price, aren't you confusing things?

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

15 Jul 2007, 8:32 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #3 by ajeh

If not using Priced by attributes but added prices to the attributes do you have them marked as "attributes are free when product is free"?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Jul 2007, 9:20 PM
#4
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #4 by testuser

Order Total Module Shipping and Sub-Total were off. It's what seemed to be causing the issue ... Thanks for the insight guys! :smile:

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

16 Jul 2007, 1:49 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Dontcha hate it when you configure the software wrong ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Jul 2007, 7:16 AM
#6
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Post #6 by testuser

Ajeh:

Dontcha hate it when you configure the software wrong ... :lamo:

Most definitely, doesn't make sense why turning those off would affect the paypal module and cause a loop.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

16 Jul 2007, 8:07 AM
#7
drbyte avatar

drbyte

Sensei

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

Post #7 by drbyte

testuser:

Most definitely, doesn't make sense why turning those off would affect the paypal module and cause a loop.

I suppose we could just completely remove the enumerated line-item details from the PayPal receipts, and then the problem goes away because it never needs to read the subtotals details.

Yes, that's why those should be turned on. Other infrastructure components also typically operate better when they're enabled.
Normally they'd only be disabled if your store was only a showcase and wasn't planning to actually sell anything or collect money for any reason.

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

8 Nov 2007, 9:58 PM
#8
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #8 by numinix

It must also be something to do with marking the item as virtual when it is a downloadable product.

I had the proper order total modules activated but virtual turned on and received this error. Turning virtual off for the product seems to have solved the issue.

8 Nov 2007, 10:38 PM
#9
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #9 by numinix

Nevermind, it doesn't appear to work... I'm going to continue testing...

8 Nov 2007, 10:53 PM
#10
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #10 by numinix

This is the error message:

ALERT: PayPal Express Checkout Error (10417)
10417 Transaction cannot complete. - The transaction cannot complete successfully. Instruct the customer to use an alternative payment method.

9 Nov 2007, 8:20 AM
#11
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #11 by numinix

I thought I posted this image already, but here are my settings:

9 Nov 2007, 8:49 AM
#12
drbyte avatar

drbyte

Sensei

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

Post #12 by drbyte

PayPal's documentation says this for 10417 errors:> It is possible that the payment method the customer

chooses on PayPal might not succeed when you
send DoExpressCheckoutPayment. The most
likely cause is that the customer’s credit card failed
bank authorization. Another possible, though rare,
cause is that the final OrderTotal is significantly
higher than the original estimated OrderTotal
you sent with SetExpressCheckout at
Integration Point 1, and the final OrderTotal
does not pass PayPal’s risk model analysis.
If the customer has no other PayPal funding source
that is likely to succeed,
DoExpressCheckoutPayment response
returns error code 10417.
Instruct the customer that PayPal is unable to
process the payment and redisplay alternative
payment methods with which the customer can pay.
So, either something is causing the total order price to change between logging in to PayPal and clicking final checkout, or your funding source in your PayPal account has insufficient funds.

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

9 Nov 2007, 7:15 PM
#13
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #13 by numinix

I had multiple people test, so I am going to say it is the first issue (higher order_total). Why would it change the price of downloadable products and not other products as well???

9 Nov 2007, 8:00 PM
#14
drbyte avatar

drbyte

Sensei

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

Post #14 by drbyte

The code is not written to change anything between initial contact and final checkout ... unless the customer chooses a very costly shipping method or applies a steep discount coupon. But discounts shouldn't have any effect in this case, as PayPal is only concerned with charging too much, not less.

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

9 Nov 2007, 8:13 PM
#15
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #15 by numinix

Could it be something to do with the shipping? It says I need to have free shipping installed, but I don't. I don't want to offer free shipping on all of my products. Also, it always redirects back to the payment method page. Perhaps I should just write an if statement that if all products in the cart are the downloadable product type, do not display express checkout?

I do have some free shipping modules like my average weight or free shipping rules modules, if those count...

9 Nov 2007, 8:22 PM
#16
drbyte avatar

drbyte

Sensei

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

Post #16 by drbyte

Why do you have freeshipper disabled?
What happens if you turn it on?

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

9 Nov 2007, 9:05 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #17 by ajeh

Download Products are NOT Virtual ...

Download Products are NOT Always Free Shipping ...

If you mark your Downloads as either Virtual or Always Free Shipping you will break things ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Nov 2007, 9:07 PM
#18
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #18 by numinix

I thought it would make all shipping free, but that is not the case. I didn't realize it will override other free shipping modules.

I'm had someone test before and we got an error. He may have done soemthing wrong so I'm having someone else test it again. I will report back.

9 Nov 2007, 9:15 PM
#19
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,573
Plugin Contributions:
60

Post #19 by numinix

Ajeh,

if not free shipping, which setting should I use, special?

9 Nov 2007, 9:17 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #20 by ajeh

Downloads are smart ... they know they do not need shipping so they skip the checkout_shipping page when that is all that is in the Shopping Cart ...

When a mixed order, Downloads do not add to shipping as the shipping modules hand no shipping conditions ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!