Forums / PayPal Express Checkout support / Express checket error invalid amount

Express checket error invalid amount

Results 1 to 20 of 37
07 Feb 2017, 15:03
#1
waddtown avatar

waddtown

New Zenner

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

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
07 Feb 2017, 15:18
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

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?
07 Feb 2017, 15:27
#3
waddtown avatar

waddtown

New Zenner

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

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_page=shopping_cart&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
)

=================================
07 Feb 2017, 15:31
#4
waddtown avatar

waddtown

New Zenner

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

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
07 Feb 2017, 15:47
#5
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Posts:
2,015
Plugin Contributions:
0

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.
07 Feb 2017, 15:56
#6
waddtown avatar

waddtown

New Zenner

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

Re: Express checket error invalid amount

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
07 Feb 2017, 16:16
#7
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Posts:
2,015
Plugin Contributions:
0

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.
07 Feb 2017, 16:41
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

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...
07 Feb 2017, 17:11
#9
waddtown avatar

waddtown

New Zenner

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

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.
07 Feb 2017, 17:17
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Express checket error invalid amount

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
07 Feb 2017, 17:17
#11
waddtown avatar

waddtown

New Zenner

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

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
07 Feb 2017, 17:29
#12
waddtown avatar

waddtown

New Zenner

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

Re: Express checket error invalid amount

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
07 Feb 2017, 17:53
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

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?
07 Feb 2017, 18:14
#14
waddtown avatar

waddtown

New Zenner

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

Re: Express checket error invalid amount

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
08 Feb 2017, 17:12
#15
waddtown avatar

waddtown

New Zenner

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

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
08 Feb 2017, 17:14
#16
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Express checket error invalid amount

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.
08 Feb 2017, 17:37
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Express checket error invalid amount

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.
08 Feb 2017, 17:42
#18
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Express checket error invalid amount

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.
09 Feb 2017, 08:01
#19
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: Express checket error invalid amount

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%)
09 Jun 2017, 13:46
#20
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Posts:
4,260
Plugin Contributions:
34

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.

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_page=shopping_cart&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