-
Express checket error invalid amount
getting the following error when trying to use paypal express
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
websites payments pro is working fine
this is a test site which can be viewed here http://67.227.211.75
any input appreciated
-
Re: Express checket error invalid amount
Turn on debug logs and try again, report findings from logs obscuring anything considered private or not to be released (personal info).
Also, what mods do you have installed?
-
Re: Express checket error invalid amount
log file.
Feb-07-2017 14:56:43 (1486479403)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(
[PAYMENTREQUEST_0_AMT] => 16.67
[PAYMENTREQUEST_0_ITEMAMT] => 16.67
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[PAYMENTREQUEST_0_HANDLINGAMT] => 0
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
)
AFTER doing line-item calcs: Array
(
[PAYMENTREQUEST_0_AMT] => 16.67
[PAYMENTREQUEST_0_ITEMAMT] => 16.67
[PAYMENTREQUEST_0_TAXAMT] => 0
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_SHIPDISCAMT] => 0
[PAYMENTREQUEST_0_HANDLINGAMT] => 0
[PAYMENTREQUEST_0_INSURANCEAMT] => 0
[L_PAYMENTREQUEST_0_NUMBER0] => SG7694
[L_PAYMENTREQUEST_0_NAME0] => Red Enamel Glasgow Rose Design Charles Rennie Mackintosh Scarf Ring [250]
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 16.67
)
=================================
Feb-07-2017 14:56:43 (1486479403)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 16.67
[PAYMENTREQUEST_0_AMT] => 16.67
[PAYMENTREQUEST_0_ITEMAMT] => 16.67
)
-------------------
difference: 0 (abs+rounded: 0)
=================================
Feb-07-2017 14:56:43 (1486479403)
getLineItemDetails 10
subtotals balance - okay
=================================
Feb-07-2017 14:56:43 (1486479403)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical
NOTE: $this->showPaymentPage = 0
Customer ID: 0
Session Data: Array
(
[securityToken] => 4cca09d6bc00616e58943405ca3da342
[customers_host_address] => host217-41-24-138.in-addr.btopenworld.com
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[250] => Array
(
[qty] => 1
)
)
[total] => 20
[weight] => 0
[cartID] => 25615
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[download_count] => 0
[total_before_discounts] => 16.6667
[display_debug_messages] =>
[flag_duplicate_msgs_set] =>
)
[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => GBP
[today_is] => 2017-02-07
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 217.41.24.138
[new_products_id_in_cart] => 250
[messageToStack] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
)
=================================
Feb-07-2017 14:56:44 (1486479404)
ec-step1-addr_check
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details
=================================
Feb-07-2017 14:56:44 (1486479404)
getOverrideAddress - 4
not logged in and not in markflow mode - nothing to override
=================================
Feb-07-2017 14:56:44 (1486479404)
ec-step1-addr_check3
address details from override check: <NONE FOUND>
=================================
Feb-07-2017 14:56:44 (1486479404)
ec_step1 - 2 -submit
Array
(
[PAYMENTREQUEST_0_AMT] => 16.67
[PAYMENTREQUEST_0_ITEMAMT] => 16.67
[L_PAYMENTREQUEST_0_NUMBER0] => SG7694
[L_PAYMENTREQUEST_0_NAME0] => Red Enamel Glasgow Rose Design Charles Rennie Mackintosh Scarf Ring [250]
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 16.67
[PAYMENTREQUEST_0_CURRENCYCODE] => GBP
[LOCALECODE] => GB
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => 01296 651979
[BRANDNAME] => UK Mackintosh Jewellery
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Mark
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[RETURNURL] => http://67.227.211.75/ipn_main_handler.php?type=ec
[CANCELURL] => http://67.227.211.75/index.php?main_...rt&ec_cancel=1
)
=================================
Feb-07-2017 14:56:45 (1486479405)
termEC-1
Killed the session vars as requested
=================================
Feb-07-2017 14:56:45 (1486479405)
termEC-2
BEFORE: $this->showPaymentPage = 0
Token Data:
=================================
Feb-07-2017 14:56:45 (1486479405)
termEC-3
AFTER: $this->showPaymentPage = 0
=================================
Feb-07-2017 14:56:45 (1486479405)
termEC-9
We are NOT logged in, so set snapshot to Shipping page, and redirect to login
=================================
Feb-07-2017 14:56:45 (1486479405)
termEC-10
Redirecting to login - Stack: login
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
Session Data: Array
(
[securityToken] => 4cca09d6bc00616e58943405ca3da342
[customers_host_address] => host217-41-24-138.in-addr.btopenworld.com
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[250] => Array
(
[qty] => 1
)
)
[total] => 20
[weight] => 0
[cartID] => 25615
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[download_count] => 0
[total_before_discounts] => 16.6667
[display_debug_messages] =>
[flag_duplicate_msgs_set] =>
)
[check_valid] => true
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => index
[mode] => NONSSL
[get] => Array
(
[type] => ec
)
[post] => Array
(
)
)
)
[snapshot] => Array
(
[page] => index
[mode] => NONSSL
[get] => Array
(
[type] => ec
)
[post] => Array
(
)
)
)
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => GBP
[today_is] => 2017-02-07
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 217.41.24.138
[new_products_id_in_cart] => 250
[messageToStack] => Array
(
[0] => Array
(
[class] => login
[text] => 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
[type] => error
)
)
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
)
=================================
-
Re: Express checket error invalid amount
I've posted a log but it needs approval
mods installed
Sitemap xml
Google analytics
Cross sell advanced
Numinix product fields
Easy populate
Rss feed
thanks
-
Re: Express checket error invalid amount
You didn't list the PP error number but 99+% of the time when we see those words used in a PP error, PayPal cannot/willnot provide the merchant any details regarding the transaction because the error (according to PP) is directly related to the particular payment account. (we take that to mean insufficient funds).
PayPal states that they are happy to discuss the particular error with the customer.
To date, 0% of customers have been willing to contact PP and/or tell us the outcome. Which give me more affirmation that the error is NSF related.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
RixStix
You didn't list the PP error number but 99+% of the time when we see those words used in a PP error, PayPal cannot/willnot provide the merchant any details regarding the transaction because the error (according to PP) is directly related to the particular payment account. (we take that to mean insufficient funds).
PayPal states that they are happy to discuss the particular error with the customer.
To date, 0% of customers have been willing to contact PP and/or tell us the outcome. Which give me more affirmation that the error is NSF related.
Its doesn't actually give a paypal error number it doesn't get as far as paypal, so it not insufficient funds
-
Re: Express checket error invalid amount
Sorry to bother you. The logfile contents sure looked like a PP log indicating PP had an error communicating with the Payment Processor.
-
Re: Express checket error invalid amount
Not sure the impact or relationship, but to further confirm/understand the existing conditions, does this store have a previously used database that has been updated via the zc_install process? If so, has the paypal express module been removed (at some point prior to now or was never installed) and reinstalled to update the database records?
I agree that there was an error in the first submission to PayPal in trying to SetExpressCheckout, just for sanity, I'd verify the credentials were correct (Don't recall if there is a separate message for that issue) and if trying to use the development server that the appropriate choice is selected there as well.
The other thing would be to review the results of accessing /extras/curltester.php and /extras/paypal_tlstest.php.
Those should provide information related to contacting/connecting to PayPal.
Then also would suggest posting your PayPal Express "settings" (No, NOT YOUR CREDENTIALS no passwords, no signatures, etc...) Things like currency accepted, where to go, what to skip, etc...
-
Re: Express checket error invalid amount
Thanks for tyou help appreciated. It was a new clean install but i have copied customers orders etc across from my old 1.3.9 database.
I did all the communications test and they all came back ok and I've re entered my credentials I don't know how many times, I have also tried re installing the payment module and reuploading all the paypal files.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
waddtown
Thanks for tyou help appreciated. It was a new clean install but i have copied customers orders etc across from my old 1.3.9 database.
I did all the communications test and they all came back ok and I've re entered my credentials I don't know how many times, I have also tried re installing the payment module and reuploading all the paypal files.
Does that mean that the issue persists?
If so, next thought would be to review the settings.
My other thought was that perhaps a bad address was provided, but that thought is not supported by the logs and the lack of a related plugin that might have been installed
-
Re: Express checket error invalid amount
settings are as follow although i have tried different ones to get it working.
Express Checkout Shortcut Button On
Set Order Status
Processing[2]
Set Unpaid Order Status
Pending[1]
Set Refund Order Status
Recommended: Refunded[6]
Express Checkout: Require Confirmed AddressNo
Express Checkout: Select Cheapest Shipping Automatically No
Express Checkout: Skip Payment Page No
Express Checkout: Automatic Account Creation Yes
Payment Action Final Sale
Transaction Currency
Selected Currency
Allow eCheck?
Instant Only
PayPal Mode
Which PayPal API system should be used for processing?
Payflow-UK
Use InContext Checkout?
InContext
Live or Sandbox
live
Debug Mode
Log and Email
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
mc12345678
Does that mean that the issue persists?
If so, next thought would be to review the settings.
My other thought was that perhaps a bad address was provided, but that thought is not supported by the logs and the lack of a related plugin that might have been installed
i've checked the settings over and over, i guess i will have to contact paypal and see if they can shed any light on it, thanks for your help
-
Re: Express checket error invalid amount
What about your payflow settings?
I know you said in Post #1 that payment pro was working, but is it setup to Payflow-UK as well?
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
mc12345678
What about your payflow settings?
I know you said in Post #1 that payment pro was working, but is it setup to Payflow-UK as well?
yes they are both set to uk
-
Re: Express checket error invalid amount
I solved this I've changed the paypal mode from paypal-uk to paypal and it works fine. not sure if this might be a bug because in my 1.5.4 store it works fine using paypal-uk
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
waddtown
I solved this I've changed the paypal mode from paypal-uk to paypal and it works fine. not sure if this might be a bug because in my 1.5.4 store it works fine using paypal-uk
Suggest logging a bug in the bug section and referencing this thread.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
mc12345678
Suggest logging a bug in the bug section and referencing this thread.
Only if you can replicate the situation using a fresh brand new install, and can explain exactly how someone else can do the same, step by step.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
DrByte
Only if you can replicate the situation using a fresh brand new install, and can explain exactly how someone else can do the same, step by step.
Yeah, that's the problem I was facing by not having a UK payflow account that may need some sort of additional settings or other actions in order to work with PayPal express... until any of that (including DrBytes statement), it's basically possible to have a problem but not necessarily guaranteed.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
waddtown
I solved this I've changed the paypal mode from paypal-uk to paypal and it works fine. not sure if this might be a bug because in my 1.5.4 store it works fine using paypal-uk
This is interesting... back in early 2013 I had what seems an identical issue. After setting up WPP at paypal via a series of phonecalls to them (UK) I configured ZC (then version 1.5.1) paypal modules and had similar errors. (This is a while back so I can't recall the exact details).
Then I switched from paypal-uk to paypal US...
and it all worked just fine.
Now on ZC 1.5.5.d and it's still operating just fine. Done over 50,000 transactions in the last 4 years - very few problems (less than 0.1%)
-
Re: Express checket error invalid amount
I am having the same issue on a brand new 1.5.5e cart. cURL test is perfect. Currency is GBP = 1 and USD = 1.25.
PP Express and Payflow (the sep module) are installed. All set to UK, and verified and verified the information.
On express checkout attempt shopping cart page shows the following error regardless of the user currency selection.
Quote:
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
Here is the log==================================
Jun-09-2017 09:44:08 (1497015848)
getLineItemDetails 1
Not using default currency. Thus, no line-item details can be submitted.
=================================
Jun-09-2017 09:44:08 (1497015848)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical
NOTE: $this->showPaymentPage = 1
Customer ID: 0
Session Data: Array
(
[securityToken] => ca157422d05671097dfe9d61b7e71d5c
[customers_host_address] => h72-131-22-40.stmyga.broadband.dynamic.tds.net
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[28] => Array
(
[qty] => 1
)
)
[total] => 0.05
[weight] => 0.0001
[cartID] => 55224
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[download_count] => 0
[total_before_discounts] => 0.05
[display_debug_messages] =>
[flag_duplicate_msgs_set] =>
)
[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2017-06-09
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 72.131.22.40
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
[cart_country_id] => 223
[country_info] => Array
(
[countries_name] => United States
[countries_iso_code_2] => US
[countries_iso_code_3] => USA
)
[shipping_weight] => 0.0001
[messageToStack] =>
[cart_zone] => 19
[cart_zip_code] => 31569
[cart_sid] => zones_zones
)
=================================
Jun-09-2017 09:44:08 (1497015848)
ec-step1-addr_check
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details
=================================
Jun-09-2017 09:44:08 (1497015848)
getOverrideAddress - 4
not logged in and not in markflow mode - nothing to override
=================================
Jun-09-2017 09:44:08 (1497015848)
ec-step1-addr_check3
address details from override check: <NONE FOUND>
=================================
Jun-09-2017 09:44:08 (1497015848)
ec_step1 - 2 -submit
Array
(
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[LOCALECODE] => GB
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => 01892 710843
[BRANDNAME] => PV Electronics
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Mark
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[PAYMENTREQUEST_0_AMT] => 0.06
[RETURNURL] => https://check.com/pve/ipn_main_handler.php?type=ec
[CANCELURL] => https://check.com/pve/index.php?main...rt&ec_cancel=1
)
=================================
Jun-09-2017 09:44:09 (1497015849)
termEC-1
Killed the session vars as requested
=================================
Jun-09-2017 09:44:09 (1497015849)
termEC-2
BEFORE: $this->showPaymentPage = 1
Token Data:
=================================
Jun-09-2017 09:44:09 (1497015849)
termEC-3
AFTER: $this->showPaymentPage = 1
=================================
Jun-09-2017 09:44:09 (1497015849)
termEC-9
We are NOT logged in, so set snapshot to Shipping page, and redirect to login
=================================
Jun-09-2017 09:44:09 (1497015849)
termEC-10
Redirecting to login - Stack: login
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
Session Data: Array
(
[securityToken] => ca157422d05671097dfe9d61b7e71d5c
[customers_host_address] => h72-131-22-40.stmyga.broadband.dynamic.tds.net
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[28] => Array
(
[qty] => 1
)
)
[total] => 0.05
[weight] => 0.0001
[cartID] => 55224
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[download_count] => 0
[total_before_discounts] => 0.05
[display_debug_messages] =>
[flag_duplicate_msgs_set] =>
)
[check_valid] => true
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => index
[mode] => SSL
[get] => Array
(
[type] => ec
)
[post] => Array
(
)
)
)
[snapshot] => Array
(
[page] => index
[mode] => SSL
[get] => Array
(
[type] => ec
)
[post] => Array
(
)
)
)
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2017-06-09
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 69.131.22.40
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
[cart_country_id] => 223
[country_info] => Array
(
[countries_name] => United States
[countries_iso_code_2] => US
[countries_iso_code_3] => USA
)
[shipping_weight] => 0.0001
[messageToStack] => Array
(
[0] => Array
(
[class] => login
[text] => 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
[type] => error
)
)
[cart_zone] => 19
[cart_zip_code] => 31569
[cart_sid] => zones_zones
)
=================================
Suggestions?
~Melanie
-
Re: Express checket error invalid amount
Have you tried changing the paypal mode from paypal-uk to paypal this worked for me
-
Re: Express checket error invalid amount
Yes, I tried that =) it gave me the following error
Quote:
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
-
Re: Express checket error invalid amount
stupid question I know but I presume you checked the api settings are correct.
-
Re: Express checket error invalid amount
Yeah, about a hundred times lol.... this is an aggravating issue =)
~Melanie
-
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.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
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)?
-
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
-
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
-
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
-
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 ...
Code:
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 ?
-
Re: Express checket error invalid amount
you have to replace all the paypal files with older versions for it to work again.
-
Re: Express checket error invalid amount
Quote:
Originally Posted by
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.
-
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
)
-
Re: Express checket error invalid amount
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/...-code-4-ts1205
-
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
-
Re: Express checket error invalid amount
-
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!