Forums / PayPal Website Payments Pro support / 10726 Invalid Data There's an error with this transaction.

10726 Invalid Data There's an error with this transaction.

Locked

Views: 7,077

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
4 Jan 2008, 12:58 AM
#1
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

10726 Invalid Data There's an error with this transaction.

Trying to do checkout and getting message in logs saying "10726 Invalid Data - There's an error with this transaction. Please enter a complete shipping address."

4 Jan 2008, 2:53 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: 10726 Invalid Data There's an error with this transaction.

Can you try a test of something that's not a download? ie: something that requires a shipping address?

.
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.

4 Jan 2008, 3:50 AM
#3
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

How did you know? :)

The order is showing under Customers/PayPal IPN.

Do I have to leave the shipping address during checkout? That could confuse some people...

Edit:
I just checked on PayPal and the order went through. ;)

4 Jan 2008, 3:55 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: 10726 Invalid Data There's an error with this transaction.

small bug :eek:

edit /includes/modules/payment/paypaldp.php
line 520 says this:```
if (!isset($optionsShip['SHIPTOSTATE']) || trim($optionsShip['SHIPTOSTATE']) == '') $optionsShip['SHIPTOSTATE'] = $optionsShip['SHIPTOCITY'];

change it to this:```
      if ((!isset($optionsShip['SHIPTOSTATE']) || trim($optionsShip['SHIPTOSTATE']) == '') && isset($optionsShip['SHIPTOCITY'])) $optionsShip['SHIPTOSTATE'] = $optionsShip['SHIPTOCITY'];
```Now your orders which don't require a shipping address should go through fine.

.
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.

4 Jan 2008, 4:08 AM
#5
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

Yep, thanks a bunch! Hope that'll help others... :)

4 Jan 2008, 5:16 AM
#6
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

This may sound like a silly question: will the above edit to paypaldp.php allow us to sell "no shipping" items (like now) and actual items that require shipping or will I have to revert to the original file?

4 Jan 2008, 5:43 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: 10726 Invalid Data There's an error with this transaction.

asterix:

This may sound like a silly question: will the above edit to paypaldp.php allow us to sell "no shipping" items (like now) and actual items that require shipping or will I have to revert to the original file?

That edit is a bug-fix. With it, things should work fine for both shipping and no-shipping items.

.
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.

24 Jan 2008, 10:48 AM
#8
talisman_studios avatar

talisman_studios

New Zenner

Join Date:
Jul 2007
Posts:
42
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

I got hit by this problem too and the fix worked like a charm so thanks guys for asking and answering respectively. I am a little surprised this fix wasn't in 1.3.8a though, guess I'm getting dates in my head screwed up.

Anyway yay for zen cart and these forums.

:clap:

8 Mar 2008, 4:03 AM
#9
boxeddeal avatar

boxeddeal

New Zenner

Join Date:
Sep 2007
Posts:
12
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

DOC You are amazing! Solved two my problems in one day. :clap:

14 Mar 2008, 2:57 AM
#10
pieceinthehoop avatar

pieceinthehoop

New Zenner

Join Date:
Mar 2008
Posts:
21
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

This was a good post.. it too fixed my shipping problem, but now I'm getting

10001 Internal Error - Internal Error

Here's the PayPal test log

paypaldp
goto page: checkout_payment
error_msg: 10001 Internal Error - Internal Error

Session data: Array
(
[securityToken] => 8cd5c55c8ad4edb16e13c79f7aff804d
[customers_host_address] => 72.171.0.141
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[65:9aa07f719ae3c8d6357e64e5c17046ce] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 1
)

                    )

            )

        [total] => 1
        [weight] => 0
        [cartID] => 
        [content_type] => virtual
        [free_shipping_item] => 2
        [free_shipping_weight] => 0
        [free_shipping_price] => 2
        [observers] => Array
            (
            )

    )

[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

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

                    )

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

                    )

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

                    )

            )

        [snapshot] => Array
            (
            )

        [observers] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2008-03-13
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 72.171.0.141
[valid_to_checkout] => 1
[cart_errors] => 
[customer_default_address_id] => 4
[customers_authorization] => 0
[customer_first_name] => LARISA
[customer_last_name] => BLAND
[customer_country_id] => 223
[customer_zone_id] => 57
[sendto] => 
[payment] => paypaldp
[shipping] => free_free
[billto] => 5
[cot_gv] => 0
[comments] => 
[paypal_ec_markflow] => 1
[messageToStack] => 
[customer_id] => 3

)

Session data: Array
(
[securityToken] => 8cd5c55c8ad4edb16e13c79f7aff804d
[customers_host_address] => 72.171.0.141
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[65:9aa07f719ae3c8d6357e64e5c17046ce] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 1
)

                    )

            )

        [total] => 1
        [weight] => 0
        [cartID] => 
        [content_type] => virtual
        [free_shipping_item] => 2
        [free_shipping_weight] => 0
        [free_shipping_price] => 2
        [observers] => Array
            (
            )

    )

[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

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

                    )

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

                    )

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

                    )

            )

        [snapshot] => Array
            (
            )

        [observers] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2008-03-13
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 72.171.0.141
[valid_to_checkout] => 1
[cart_errors] => 
[customer_default_address_id] => 4
[customers_authorization] => 0
[customer_first_name] => LARISA
[customer_last_name] => BLAND
[customer_country_id] => 223
[customer_zone_id] => 57
[sendto] => 
[payment] => paypaldp
[shipping] => free_free
[billto] => 5
[cot_gv] => 0
[comments] => 
[paypal_ec_markflow] => 1
[messageToStack] => 
[customer_id] => 3

)

Term EC-10

paypaldp
Redirecting to checkout_payment - Stack: checkout_payment
Message: 10001 Internal Error - Internal Error
Session Data: Array
(
[securityToken] => 8cd5c55c8ad4edb16e13c79f7aff804d
[customers_host_address] => 72.171.0.141
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[65:9aa07f719ae3c8d6357e64e5c17046ce] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 1
)

                    )

            )

        [total] => 1
        [weight] => 0
        [cartID] => 
        [content_type] => virtual
        [free_shipping_item] => 2
        [free_shipping_weight] => 0
        [free_shipping_price] => 2
        [observers] => Array
            (
            )

    )

[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

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

                    )

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

                    )

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

                    )

            )

        [snapshot] => Array
            (
            )

        [observers] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2008-03-13
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 72.171.0.141
[valid_to_checkout] => 1
[cart_errors] => 
[customer_default_address_id] => 4
[customers_authorization] => 0
[customer_first_name] => LARISA
[customer_last_name] => BLAND
[customer_country_id] => 223
[customer_zone_id] => 57
[sendto] => 
[payment] => paypaldp
[shipping] => free_free
[billto] => 5
[cot_gv] => 0
[comments] => 
[paypal_ec_markflow] => 1
[messageToStack] => Array
    (
        [0] => Array
            (
                [class] => checkout_payment
                [text] => 10001   Internal Error - Internal Error
                [type] => error
            )

    )

[customer_id] => 3

)

THEN THIS: Before process DB

paypaldp
resultset:
Array
(
[TIMESTAMP] => 2008-03-14T02:47:35Z
[CORRELATIONID] => 4b90bf118ed3b
[ACK] => Failure
[L_ERRORCODE0] => 10001
[L_SHORTMESSAGE0] => Internal Error
[L_LONGMESSAGE0] => Internal Error
[L_SEVERITYCODE0] => Error
[VERSION] => 2.300000
[BUILD] => 528825
[CURL_ERRORS] =>
)

14 Mar 2008, 3:10 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: 10726 Invalid Data There's an error with this transaction.

pieceinthehoop:

This was a good post.. it too fixed my shipping problem, but now I'm getting

10001 Internal Error - Internal ErrorSubmit a report to PayPal about that.
http://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.

14 Mar 2008, 3:16 AM
#12
pieceinthehoop avatar

pieceinthehoop

New Zenner

Join Date:
Mar 2008
Posts:
21
Plugin Contributions:
0

Re: 10726 Invalid Data There's an error with this transaction.

Thanks Doc! At least I have a direction in which to go.

Big TX Hugs to ya,
Larisa