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