Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / PayPal Express Checkout support / Message: We were not able to process your order

Message: We were not able to process your order

Locked

Started by movermedia on 25 Jul 2012, 1:32 AM · Views: 1,776

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Jul 2012, 1:32 AM
#1
movermedia avatar

movermedia

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

Message: We were not able to process your order

Hi, I continue to get an error using PayPal Express Checkout with v1.3.9h.

I blocked out some info in the logs below, but here's what happens. Sometimes payments go through, but other times, I get this error in my logs: **We were not able to process your order. Please try again, select an alternate payment method, or contact the store owner for assistance. **

I have no idea why this is happening, but the other log emails are usually the same. I have checked the currency settings for the store - USD, and other settings seem normal.

Here are 3 of the log emails I get:

termEC-10

paypalwpp
Redirecting to login - Stack: login
Message: We were not able to process your order. Please try again, select an
alternate payment method, or contact the store owner for assistance.
Session Data: Array
(
[securityToken] => xxxxx
[customers_host_address] => xxxxx
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[5834] => Array
(
[qty] => 1
)

            )

        [total] => 19.95
        [weight] => 0.95
        [cartID] => xxxxx
        [content_type] => physical
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
    )

[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
                    (
                    )

            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2012-07-24
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => xxxxx
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
[messageToStack] => Array
    (
        [0] => Array
            (
                [class] => login
                [text] => We were not able to process your order. Please

try again, select an alternate payment method, or contact the store owner
for assistance.
[type] => error
)

    )

)

termEC-1
paypalwpp
Killed the session vars as requested


ec_step2_finish -2

paypalwpp
country_id = 223
address_format_id = 2
state_id = 0 (original state tested: )
country1->fields['countries_id'] =
country2->fields['countries_id'] =
$order->customer = Array
(
[name] =>
[company] =>
[street_address] =>
[suburb] =>
[city] =>
[postcode] =>
[state] =>
[country] => Array
(
[id] => 223
[title] =>
[iso_code_2] =>
[iso_code_3] =>
)

[format_id] => 2
[email_address] =>
[telephone] =>
[zone_id] => 0

)

25 Jul 2012, 2:34 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Message: We were not able to process your order

What's in the PayPal CURL_xxxxxxx.log files? (not emails)
http://www.zen-cart.com/showthread.php?61199-Debug-Logging-PayPal

Please click Reply below and answer all the questions in the Posting Tips section.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jul 2012, 4:10 AM
#3
movermedia avatar

movermedia

New Zenner

Join Date:
Jun 2012
Posts:
5
Plugin Contributions:
0

Re: Message: We were not able to process your order

There are 2 Curl files, I pasted them both, placing Xs over some things that I figure shouldn't be posted. Thanks for your help.

2012-07-24 07:00:49

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 45
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.9h
)

Request Parameters: {GetExpressCheckoutDetails}
Array
(
[TOKEN] => EC-xxxx
[REQBILLINGADDRESS] => 1
[METHOD] => GetExpressCheckoutDetails
[USER] => payments_api1.xxxxxx.com
[PWD] => ****************
[VERSION] => 60.0
[SIGNATURE] => ****************************************************B-SW
)

Response:
Array
(
[TOKEN] => EC-xxxx
[CHECKOUTSTATUS] => PaymentActionNotInitiated
[TIMESTAMP] => 2012-07-25T00:00:49Z
[CORRELATIONID] => a20466ec257d2
[ACK] => Success
[VERSION] => 60.0
[BUILD] => 3332236
[CURRENCYCODE] => USD
[AMT] => 19.95
[ITEMAMT] => 19.95
[SHIPPINGAMT] => 0.00
[HANDLINGAMT] => 0.00
[TAXAMT] => 0.00
[INSURANCEAMT] => 0.00
[SHIPDISCAMT] => 0.00
[L_NAME0] => Gxxxxxxx
[L_NUMBER0] => B950xxxxx
[L_QTY0] => 1
[L_TAXAMT0] => 0.00
[L_AMT0] => 19.95
[L_ITEMWEIGHTVALUE0] => 0.00000
[L_ITEMLENGTHVALUE0] => 0.00000
[L_ITEMWIDTHVALUE0] => 0.00000
[L_ITEMHEIGHTVALUE0] => 0.00000
[CURL_ERRORS] =>
)

GetExpressCheckoutDetails, Elapsed: 1264ms -- Success

The second file shows:

2012-07-24 07:00:47

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 45
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.9h
)

Request Parameters: {SetExpressCheckout}
Array
(
[AMT] => 19.95
[ITEMAMT] => 19.95
[L_NUMBER0] => B950xxxx
[L_NAME0] => Gxxxxxx
[L_AMT0] => 19.95
[L_QTY0] => 1
[LOCALECODE] => US
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[RETURNURL] => http://xxxx.com/ipn_main_handler.php?type=ec
[CANCELURL] => http://xxxx.com/index.php?main_page=shopping_cart&ec_cancel=1
[PAGESTYLE] => xxxx
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => USD
[USER] => payments_api1.xxxx.com
[PWD] => ****************
[VERSION] => 60.0
[SIGNATURE] => ****************************************************B-SW
)

Response:
Array
(
[TOKEN] => EC-xxxx
[TIMESTAMP] => 2012-07-25T00:00:47Z
[CORRELATIONID] => f83cfd27fd
[ACK] => Success
[VERSION] => 60.0
[BUILD] => 3332236
[CURL_ERRORS] =>
)

SetExpressCheckout, Elapsed: 376ms -- Success

25 Jul 2012, 7:25 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Message: We were not able to process your order

What's different between your store and a brand new clean uncustomized install of Zen Cart?
The symptoms you describe suggest that something is interfering with the normal communication between Zen Cart and PayPal and back again when it attempts to handle the data returned from PayPal after your customer is logging in to Paypal and returning to your store. The error message you quoted in your first post is the result of the system discovering that the data is bad, and thus preventing a failed purchase.
You may need to contact PayPal support to determine what's preventing your customers from making a live purchase on your live store. https://www.paypal.com/mts

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.