failed with "Invalid shipping total."

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
sappel
Posts: 3
Joined: 11 Feb 2021, 19:00

failed with "Invalid shipping total."

Post by sappel » 11 Feb 2021, 19:07

Hallo,

I have installed the Aimeos shop with "composer create-project aimeos/aimeos myshop".
After installation i put th artical in the basked and go through the whole checkout process.
If I try to checkout with paypal I got the errormessage

"PayPal Express: Request for order ID "1" failed with "Invalid shipping total."

Why is it not working?
Should I change the paypal Sandbox account, is the configuration of test shop not woring?

Many thanks for your help,
Aps

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: failed with "Invalid shipping total."

Post by aimeos » 12 Feb 2021, 08:21

Go to "Services" in the left navigation panel (extended view), click on the PayPalExpress option and in the right config table set the product and shipping options to "no".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sappel
Posts: 3
Joined: 11 Feb 2021, 19:00

Re: failed with "Invalid shipping total."

Post by sappel » 12 Feb 2021, 13:04

Thank you for the answer, but its not solve the problem.

If I change
paypalexpress.product = no
paypalexpress.NoShipping = no

I get the following error

PayPal Express: Request for order ID "6" failed with "Line items missing."

If i change
paypalexpress.product = yes
paypalexpress.NoShipping = no

Error
PayPal Express: Request for order ID "6" failed with "Invalid shipping total."

If i change
paypalexpress.product = no
paypalexpress.NoShipping = yes

error:
PayPal Express: Request for order ID "6" failed with "Line items missing."

I can do what I want, i get allways an error.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: failed with "Invalid shipping total."

Post by aimeos » 13 Feb 2021, 12:55

Sorry, it's
paypalexpress.service = no
not
paypalexpress.NoShipping = no
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sappel
Posts: 3
Joined: 11 Feb 2021, 19:00

Re: failed with "Invalid shipping total."

Post by sappel » 14 Feb 2021, 12:26

Thanks again,

Now I get an other error:

PayPal Express: Request for order ID "2" failed with "Duplicate invoice"

I cant undestand why it is not working. I install with composer the last version,
set paypalexpress.service = no and try to buy 1 article in the test enviroment.

But i get allways an other error. Sorry I try all.

I hope you can help me one more times.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: failed with "Invalid shipping total."

Post by aimeos » 15 Feb 2021, 10:18

"Duplicate invoice" means that the same order ID has already been used because you've most likely set up a new installation with a clean database and PayPal refuses already used order IDs.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply