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 Website Payments Pro support / = Internal Error 10001 = Using WPP to run transactions in MXN

= Internal Error 10001 = Using WPP to run transactions in MXN

Locked

Started by sageplan on 20 Oct 2008, 11:13 PM · Views: 4,111

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
20 Oct 2008, 11:13 PM
#1
sageplan avatar

sageplan

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

= Internal Error 10001 = Using WPP to run transactions in MXN

I have a very unique situation here. In a nutshell, I need to be able to charge customers in Mexico in MXN.

My website hosting is in the US and it's relevant settings are:

  • Country = Mexico
  • Zone = Mexico
  • Under Localization\currencies = Mexican Peso (MXN) is default

I modiffied the following files as to have everything set to MXN on the Website Payment Pro module and the MXN currency available on the Payment Modules section in Zen:

  • paypalwpp.php
  • paypaldp.php
  • paypal_functions.php
  • tpl_ec_button.php

This makes at least all the prices in my test website to appear in MXN and the Cart too. The problem is that, apparently, when it tries to go through the authorization process, Zen sends out the Currency as USD (look for bold letters towards the start of the log) even though the log shows that initially it knows the Currency should be MXN (look for bold letters towards the end of the log). Here is the error log:


paypaldp
In function: before_process() - Direct Payment Did first contact attempt return error? No

Value List:
Array
(
[ACCT] => ************0992
[AMT] => 52.50
[BUTTONSOURCE] => ZenCart-DP_us
[CARDISSUE] =>
[CITY] => Austin
[COUNTRYCODE] => US
[CREDITCARDTYPE] => MasterCard
[CVV2] => ***
[EMAIL] => [email protected]
[EXPDATE] => 022011
[FIRSTNAME] => Ernesto
[IPADDRESS] => 71.145.133.60
[ITEMAMT] => 50.00
[LASTNAME] => Marquez
[L_AMT0] => 50.00
[L_NAME0] => Hewlett Packard LaserJet 1100Xi Linked
[L_NUMBER0] => HPLJ1100XI
[L_QTY0] => 1
[L_TAXAMT0] => 0.00
[NOTIFYURL] => http://v2.rastreotec.com/ipn_main_handler.php
[PAYMENTACTION] => Sale
[PHONENUM] =>
[SHIPPINGAMT] => 2.50
[SHIPTOCITY] => Austin
[SHIPTOCOUNTRYCODE] => US
[SHIPTONAME] => Ernesto Marquez
[SHIPTOSTATE] => TX
[SHIPTOSTREET] => 12871 Research Blvd
[SHIPTOSTREET2] => Ste 204
[SHIPTOZIP] => 78750
[STATE] => TX
[STREET] => 12871 Research Blvd
[STREET2] => Ste 204
[ZIP] => 78750
[METHOD] => DoDirectPayment
[CURRENCYCODE] => USD
[USER] => don_api1.sageplan.com
[PWD] => ****************
[VERSION] => 2.3
[SIGNATURE] => ****************************************************IbBc
)

Response:
Array
(
[AMT] => 52.50
[CURRENCYCODE] => USD
[AVSCODE] => Y
[CVV2MATCH] => M
[TIMESTAMP] => 2008-10-16T19:54:44Z
[CORRELATIONID] => dda2d7eae03f3
[ACK] => Failure
[VERSION] => 2.3
[BUILD] => 721194
[L_ERRORCODE0] => 10001
[L_SHORTMESSAGE0] => Internal Error
[L_LONGMESSAGE0] => Internal Error
[L_SEVERITYCODE0] => Error
[L_ERRORPARAMID0] => ProcessorResponse
[L_ERRORPARAMVALUE0] => 0000
[CURL_ERRORS] =>
)

Session data: Array
(
[securityToken] => 77dfb83b1510bd86fb2401e92e7d9c58
[customers_host_address] => adsl-71-145-133-60.dsl.austtx.sbcglobal.net
[cartID] =>
[cart] => shoppingcart Object
(
[observers] => Array
(
)

        [contents] => Array
            (
                [27] => Array
                    (
                        [qty] => 1
                    )

            )

        [total] => 50
        [weight] => 45
        [cartID] => 
        [content_type] => physical
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
    )

[navigation] => navigationhistory Object
    (
        [observers] => Array
            (
            )

        [path] => Array
            (
                [0] => Array
                    (
                        [page] => index
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [1] => Array
                    (
                        [page] => product_info
                        [mode] => NONSSL
                        [get] => Array
                            (
                                [cPath] => 1_5
                                [products_id] => 27
                                [action] => add_product
                            )

                        [post] => Array
                            (
                            )

                    )

                [2] => Array
                    (
                        [page] => shopping_cart
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [3] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [4] => Array
                    (
                        [page] => checkout_payment
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [5] => Array
                    (
                        [page] => checkout_confirmation
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [6] => Array
                    (
                        [page] => checkout_process
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

            )

        [snapshot] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en

** [currency] => MXN**
[today_is] => 2008-10-16
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 71.145.133.60
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[customer_id] => 2
[customer_default_address_id] => 2
[customers_authorization] => 0
[customer_first_name] => Ernesto
[customer_last_name] => Marquez
[customer_country_id] => 223
[customer_zone_id] => 57
[sendto] => 2
[payment] => paypaldp
[shipping] => Array
(
[id] => item_item
[title] => Per Item (Best Way)
[cost] => 2.5
)

[billto] => 2
[cot_gv] => 0
[comments] => 
[paypal_ec_markflow] => 1

)


I have tested with both, an US Credit Card and a Mexican Credit Card with the exact same results!

If someone has come across this issue with any foreign currency and know a fix or can recommend something... PLEASE HELP!!

Thanks in advance

Ernesto
Sageplan

21 Oct 2008, 6:39 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: = Internal Error 10001 = Using WPP to run transactions in MXN

Website Payments Pro does not support MXN. Only USD, GBP, CAD, EUR, JPY, AUD
However, Express Checkout supports MXN fine.

As for your 10001 error, that's coming from a problem PayPal is encountering while trying to process your transaction with the card company. You'll have to file that report with PayPal 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.