Zen Cart Logo
Forums / PayPal Express Checkout support / Express checket error invalid amount

Express checket error invalid amount

Views: 27,784

Results 21 to 37 of 37
9 Jun 2017, 2:04 PM
#21
waddtown avatar

waddtown

New Zenner

Join Date:
Feb 2005
Location:
UK
Posts:
77
Plugin Contributions:
0

Express checket error invalid amount

Have you tried changing the paypal mode from paypal-uk to paypal this worked for me

9 Jun 2017, 2:10 PM
#22
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Express checket error invalid amount

Yes, I tried that =) it gave me the following error

We are sorry for the inconvenience. The PayPal account authentication settings are not yet set up, or the API security information is incorrect. We are unable to complete your transaction. Please notify the store owner so they can correct this problem. (10002) 10002 Security error - Security header is not valid

~Melanie

9 Jun 2017, 2:23 PM
#23
waddtown avatar

waddtown

New Zenner

Join Date:
Feb 2005
Location:
UK
Posts:
77
Plugin Contributions:
0

Re: Express checket error invalid amount

stupid question I know but I presume you checked the api settings are correct.

9 Jun 2017, 2:33 PM
#24
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Express checket error invalid amount

Yeah, about a hundred times lol.... this is an aggravating issue =)

~Melanie

9 Jun 2017, 11:52 PM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Express checket error invalid amount

Your logs aren't showing any "amount" details at all. Unfortunately they're not giving a reason why either.

10 Jun 2017, 12:05 PM
#26
lat9 avatar

lat9

Administrator

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

Re: Express checket error invalid amount

DrByte:

Your logs aren't showing any "amount" details at all. Unfortunately they're not giving a reason why either.
Actually, the log that Melanie posted shows an amount of 0.05 (the "total"). Could that be the issue (that the amount is too small)?

10 Jun 2017, 3:45 PM
#27
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Express checket error invalid amount

Hi Lat,

Thanks for looking, but the amount matters none... same result every time. I thought I was seeing some PP issue from the stuff they have had going on for the last few days with late API returns and such, but it persists.

Dr Byte - any suggestions?

~Melanie

12 Jun 2017, 2:39 PM
#28
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Express checket error invalid amount

Okay so maybe there is a bug here.

I have installed a full vanilla cart with zero addons, nor changes. The demo products are loaded.

I installed PP Express with PayFlow using the valid creds from the live site and the error persists on my fully Vanilla cart. In fact the only changes at all is to update the my store address etc on install and PP express, I didn't even update the currencies.

https:// checkoutprofit .com /vanilla/

If the dev team could take a look, I would appreciate it.

~Melanie

12 Aug 2019, 6:50 PM
#29
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Express checket error invalid amount

Would like to add to this that I've had the same error.

Replacing /includes/modules/payment/paypalwpp.php from v1.5.4-12302014 fixed issue on v1.5.6c-07162019

The file from v1.5.5-03172016 onwards has the problem

4 Oct 2019, 1:35 PM
#30
niccol avatar

niccol

Totally Zenned

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

Re: Express checket error invalid amount

I am repeating this error on a vanilla install.

Reverting to previous versions of paypalwpp.php doesn't seem to help.

has any one had further success?

My position is that I am using the same set of credentials successfully elsewhere and have confirmed that they are not entered incorrectly. In other words, the problem site is a development version of a live site. Credentials work on the live site and do not work on the development site. I have copied and pasted the settings from Paypal (multiple times) rather than copying settings between the databases.

With Payflow UK I am getting the invalid amount error - although the amount seems fine ...

Array
(
    [PAYMENTREQUEST_0_AMT] => 0.47
    [PAYMENTREQUEST_0_ITEMAMT] => 0.47
    [L_PAYMENTREQUEST_0_NUMBER0] => PC-UNTM
    [L_PAYMENTREQUEST_0_NAME0] => Unreal Tournament Linked [22] Version: Download: Windows - English
    [L_PAYMENTREQUEST_0_QTY0] => 1
    [L_PAYMENTREQUEST_0_AMT0] => 0.47
    [PAYMENTREQUEST_0_CURRENCYCODE] => GBP
    [LOCALECODE] => GB
    [GIFTMESSAGEENABLE] => 0
    [GIFTRECEIPTEENABLE] => 0
    [GIFTWRAPENABLE] => 0
    [GIFTWRAPNAME] => 
    [GIFTWRAPAMOUNT] => 0
    [BUYEREMAILOPTINENABLE] => 0
    [CUSTOMERSERVICENUMBER] => 
    [BRANDNAME] => ####
    [PAYMENTREQUEST_0_PAYMENTACTION] => Sale
    [ALLOWNOTE] => 1
    [LANDINGPAGE] => Billing
    [NOSHIPPING] => 1
    [EMAIL] => ####
    [PAYMENTREQUEST_0_SHIPTOPHONENUM] => 078032124124
    [ACTION] => S
    [TENDER] => P
    [TRXTYPE] => S
    [RETURNURL[60]] => ####
    [CANCELURL[81]] => ####
    [ec_cancel] => 1
    [PAGESTYLE] => Primary
    [REQUEST_ID] => 1570195250
    [USER] => ####
    [PWD] => ####
    [PARTNER] => PayPalUK
    [VENDOR] => ####
)


Response: 
Array
(
    [RESULT] => 4
    [RESPMSG] => Invalid amount
    [REQUEST_ID] => 1570195250
    [CURL_ERRORS] => 
)


SetExpressCheckout, Elapsed: 906ms -- Failed

RESULT=4&RESPMSG=Invalid amount&REQUEST_ID=1570195250&CURL_ERRORS=

Anybody have any thoughts ?

11 Nov 2019, 10:55 PM
#31
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Express checket error invalid amount

you have to replace all the paypal files with older versions for it to work again.

14 Nov 2019, 6:46 PM
#32
niccol avatar

niccol

Totally Zenned

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

Re: Express checket error invalid amount

DigitalShadow:

you have to replace all the paypal files with older versions for it to work again.

I am glad that worked for you. As I said, it did not for me.

20 Nov 2019, 5:17 PM
#33
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Express checket error invalid amount

I've been having the same problem for a week now and PayPal Merchant Technical Team just don't respond. Anyway, I've sent them our latest error logs so will feedback if I get anything. Been harrassing them everyday so far with no joy.

I've got Website Payments Pro and Paypal Express Checkout payment modules installed. All transactions stopped working on 14 Nov. I've managed to get credit card transactions working again by re-configuring the modules with exactly the same information as before. Paypal Express Checkout however is still not working and showing [RESPMSG] => Invalid amount error. User clicks on Express button which just loops back to the website's checkout page.

PayPal Error Log File:

paypalwpp
In function: ec_step1()

Value List:
Array
(
[PAYMENTREQUEST_0_AMT] => 6.94
[PAYMENTREQUEST_0_ITEMAMT] => 3.95
[PAYMENTREQUEST_0_SHIPPINGAMT] => 2.99
[L_PAYMENTREQUEST_0_NUMBER0] => QB-MLED20STR-BAT/WW/TR
[L_PAYMENTREQUEST_0_NAME0] => 20 Micro Lights with Timer, Warm White (Soft White) on Silver Wire, Battery operated [224]
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 3.95
[PAYMENTREQUEST_0_CURRENCYCODE] => GBP
[LOCALECODE] => GB
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => 02380 262620
[BRANDNAME] => Qbis UK Ltd
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[ADDROVERRIDE] => 1
[PAYMENTREQUEST_0_SHIPTONAME] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOSTREET] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOSTREET2] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOCITY] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOZIP] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOSTATE] => {blanked out}
[PAYMENTREQUEST_0_SHIPTOPHONENUM] =>
[EMAIL] => {blanked out}
[ACTION] => S
[TENDER] => P
[TRXTYPE] => S
[RETURNURL[84]] =>{blanked out}
[zenid] => {blanked out}
[CANCELURL[105]] => {blanked out}
[ec_cancel] => 1
[SHIPTOCOUNTRY] => GB
[PAGESTYLE] => Primary
[REQUEST_ID] => 1574266620
[USER] => {blanked out}
[PWD] => ************
[PARTNER] => {blanked out}
[VENDOR] => {blanked out}
)

Response:
Array
(
[RESULT] => 4
[RESPMSG] => Invalid amount
[REQUEST_ID] => 1574266620
[CURL_ERRORS] =>
[L_SHORTMESSAGE0] => Invalid amount
)

Session data: Array
(
[securityToken] => f2bbbe4539e71b596567e8bd32fe0e61
[customers_host_address] => 90.240.170.149
[cartID] => 10182
[cart] => shoppingCart Object
(
[contents] => Array
(
[224] => Array
(
[qty] => 1
)

            )

        [total] => 3.95
        [weight] => 0
        [cartID] => 10182
        [content_type] => physical
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
        [download_count] => 0
        [total_before_discounts] => 4.1583
        [display_debug_messages] => 
        [flag_duplicate_msgs_set] => 
    )

[language] => english
[languages_id] => 1
[languages_code] => en
[check_valid] => true
[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => index
                        [mode] => SSL
                        [get] => Array
                            (
                                [type] => ec
                                [markflow] => 1
                                [clearSess] => 1
                                [stage] => final
                                [zenid] => 23kp0gmd879eous8vt1jebe4a0
                            )

                        [post] => Array
                            (
                            )

                    )

            )

        [snapshot] => Array
            (
            )

    )

[currency] => GBP
[today_is] => 2019-11-20
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 90.240.170.149
[emp_admin_login] => 1
[emp_admin_id] => 1
[customer_id] => 606
[customer_default_address_id] => 687
[customers_authorization] => 0
[customer_first_name] => {blanked out}
[customer_last_name] => {blanked out}
[customer_country_id] => 222
[customer_zone_id] => 314
[messageToStack] => 
[valid_to_checkout] => 1
[cart_errors] => 
[total_weight] => 0
[total_count] => 1
[shipping_weight] => 3
[new_products_id_in_cart] => 224
[payment] => paypalwpp
[sendto] => 687
[billto] => 687
[shipping] => Array
    (
        [id] => ukpost_ukpost
        [title] => Delivery (Parcel to  )
        [cost] => 2.99
        [module] => ukpost
    )

[comments] => 
[paypal_ec_markflow] => 1

)

20 Nov 2019, 11:04 PM
#35
nipinuk avatar

nipinuk

Zen Follower

Join Date:
Oct 2005
Location:
Hampshire, UK
Posts:
96
Plugin Contributions:
0

Re: Express checket error invalid amount

Running php 5.6. I checked the address and the other blanked out bits and there isn't any "." on it.

I've enabled Express Checkout button on the shopping cart and when I click on the button, instead of taking me to paypal, I get the following error message:
"An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (4) 4 Invalid amount - Invalid amount"

Site is qbis.co.uk

26 Jan 2020, 11:03 AM
#36
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Express checket error invalid amount

Still a problem

Here

10 Jun 2020, 12:38 PM
#37
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Express checket error invalid amount

Using the same details as before (which have worked just fine for years) after upgrading from 1.5.5 to 1.5.6c I was getting Error 4, Invalid amount
RESULT=4&RESPMSG=Invalid amount&
After much faffing, unsuccessfully trying to find something that looked wrong, I changed it from Payflow-UK to Paypal, and it is now working again. And the payments are coming through as 3D Secure protected.
Hope this helps anyone else in the same predicament!