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
Views: 27,784
New Zenner
Have you tried changing the paypal mode from paypal-uk to paypal this worked for me
Totally Zenned
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
New Zenner
stupid question I know but I presume you checked the api settings are correct.
Totally Zenned
Yeah, about a hundred times lol.... this is an aggravating issue =)
~Melanie
Sensei
Your logs aren't showing any "amount" details at all. Unfortunately they're not giving a reason why either.
Administrator
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)?
Totally Zenned
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
Totally Zenned
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
Totally Zenned
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
Totally Zenned
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 ?
Totally Zenned
you have to replace all the paypal files with older versions for it to work again.
Totally Zenned
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.
Zen Follower
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
)
Totally Zenned
What version of PHP are you running, the old files only work up to php 5.6
Do any of the address lines you've blanked out have a . in there?
https://www.paypal.com/us/smarthelp/article/why-did-i-get-result-code-4-ts1205
Zen Follower
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
Totally Zenned
Still a problem
Zen Follower
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!
Fields marked required must be completed.
Tell staff why this post should be reviewed.