Forums / PayPal Website Payments Pro support / 10513 transaction cannot be processed. Please enter a last name.

10513 transaction cannot be processed. Please enter a last name.

Locked

Views: 6,112

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Feb 2008, 11:35 PM
#1
devices avatar

devices

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

10513 transaction cannot be processed. Please enter a last name.

I have been allowing a few customers to put orders through ZEN whilw its in its testing stage. They have been fine and its been over a week since the last one. Tonight though We tried with to customers and got this error both times.

ALERT: PayPal Direct Payment Error (7 )
Dear store owner,
An error occurred when attempting to initiate the payment-validation transaction. As a courtesy, only the error "number" was shown to your customer. The details of the error are shown below.

Field format error: 10513-This transaction cannot be processed. Please enter a last name.
Both of them do have first and last names filled out on their accounts.

Regards

Devices

Regards

Dave.

beauty is in the eye of the beer holder

28 Feb 2008, 7:12 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: 10513 transaction cannot be processed. Please enter a last name.

What does your PayPal debug log show about the data being submitted?
http://www.zen-cart.com/forum/showthread.php?t=61199

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

28 Feb 2008, 2:21 PM
#3
devices avatar

devices

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Re: 10513 transaction cannot be processed. Please enter a last name.

I just reproduced the same error on a stock zencart using the sandbox. This generated the following 2 logs.

Feb-28-2008 02:12:29
getLineItemDetails 3
LineItemDetails: 
Details:Array
(
    [ITEMAMT] => 0.01
    [SHIPPINGAMT] => 2.5
    [AMT] => 2.51
    [L_NUMBER0] => DVD-DHWV
    [L_QTY0] => 1
    [L_NAME0] => Die Hard With A Vengeance Linked
    [L_AMT0] => 0.01
    [L_TAXAMT0] => 0
)


DEFAULT_CURRENCY = GBP
SESSION['currency'] = GBP
order->info['currency'] = GBP
$currencies->currencies[$_SESSION['currency']]['value'] = 1.00000000
currencies Object
(
    [currencies] => Array
        (
            [USD] => Array
                (
                    [title] => US Dollar
                    [symbol_left] => $
                    [symbol_right] => 
                    [decimal_point] => .
                    [thousands_point] => ,
                    [decimal_places] => 2
                    [value] => 1.00000000
                )

            [EUR] => Array
                (
                    [title] => Euro
                    [symbol_left] => €
                    [symbol_right] => 
                    [decimal_point] => .
                    [thousands_point] => ,
                    [decimal_places] => 2
                    [value] => 0.74129999
                )

            [GBP] => Array
                (
                    [title] => GB Pound
                    [symbol_left] => £
                    [symbol_right] => 
                    [decimal_point] => .
                    [thousands_point] => ,
                    [decimal_places] => 2
                    [value] => 1.00000000
                )

            [CAD] => Array
                (
                    [title] => Canadian Dollar
                    [symbol_left] => $
                    [symbol_right] => 
                    [decimal_point] => .
                    [thousands_point] => ,
                    [decimal_places] => 2
                    [value] => 1.10590005
                )

            [AUD] => Array
                (
                    [title] => Australian Dollar
                    [symbol_left] => $
                    [symbol_right] => 
                    [decimal_point] => .
                    [thousands_point] => ,
                    [decimal_places] => 2
                    [value] => 1.24070001
                )

        )

    [observers] => Array
        (
        )

)

=================================

and

2008-02-28 02:12:36
-------------------
(sandbox transaction) --> https://pilot-payflowpro.verisign.com/transaction
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 - Payflow Pro
    [4] => X-VPS-VIT-Integration-Version: 1.3.8a
)


Request Parameters: {DoDirectPayment} 
Array
(
    [ACCT] => ************1111
    [AMT] => 2.51
    [BUTTONSOURCE] => ZenCart-DP_uk
    [CARDISSUE] => 
    [CITY] => Wolverhampton
    [COUNTRY] => GB
    [CURRENCY] => GBP
    [CVV2] => ***
    [EMAIL] => [email protected]
    [EXPDATE] => 0711
    [IPADDRESS] => 0.0.0.0
    [ITEMAMT] => 0.01
    [L_AMT0] => 0.01
    [L_NAME0] => Die Hard With A Vengeance Linked
    [L_NUMBER0] => DVD-DHWV
    [L_QTY0] => 1
    [L_TAXAMT0] => 0.00
    [NAME] => Test User
    [PHONENUM] => 
    [SHIPPINGAMT] => 2.50
    [STATE] => 
    [STREET] => 1 Main Terrace
    [TENDER] => C
    [TRXTYPE] => S
    [VERBOSITY] => MEDIUM
    [ZIP] => W12 4LQ
    [REQUEST_ID] => 1204207949
    [USER] => myid
    [PWD] => ************
    [PARTNER] => PayPalUK
    [VENDOR] => myvendorid
)


Response: 
Array
(
    [RESULT] => 7
    [PNREF] => E79P0CFC2978
    [RESPMSG] => Field format error: 10513-This transaction cannot be processed. Please enter a last name.
    [HOSTCODE] => 10513
    [REQUEST_ID] => 1204207949
    [CURL_ERRORS] => 
)

Regards

Dave.

beauty is in the eye of the beer holder

29 Feb 2008, 7:34 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: 10513 transaction cannot be processed. Please enter a last name.

It seems that their UK systems are still not in sync with the rest of their operations ...

The following may provide some relief, although I'm surprised that nobody else is reporting the same issue ...

Find this file: /includes/modules/payment/paypal/paypal_curl.php
around line 204 you'll see this:if (($fname . $lname) !== null && !isset($values['NAME'])) { $values['NAME'] = $fname . ' ' . $lname; }Try replacing those 3 lines with this:```
$values['FIRSTNAME'] = $fname;
$values['LASTNAME'] = $lname;
if (isset($values['NAME'])) unset ($values['NAME']);

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

29 Feb 2008, 9:04 AM
#5
devices avatar

devices

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Re: 10513 transaction cannot be processed. Please enter a last name.

Thanks i will try that in a moment and report back.

I expect its something that has changed recently because it has worked fine for me before now. I have put quite a few tests through and also about 6 real orders through. The last one being about 2 weeks before this problem.

Regards

Dave.

beauty is in the eye of the beer holder

29 Feb 2008, 11:45 AM
#6
devices avatar

devices

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Re: 10513 transaction cannot be processed. Please enter a last name.

It failed in the sandbox but worked fine live.

In the sandbox the error was

 Error (5 <!-- Invalid merchant information: 10501-This transaction cannot be processed due to an invalid merchant configuration. -->)

At least it works live now which is the main concern.

FYI the refund from the control panel was fine also.

It is strange no one else has reported it. When i came to the forums i was expecting to find a post or 2 but could not find anything.

Thank you very much for your help it is much appreciated.

Regards

Dave.

beauty is in the eye of the beer holder

22 Jul 2008, 8:03 PM
#7
bargaindropper avatar

bargaindropper

New Zenner

Join Date:
Apr 2008
Location:
United Kingdom
Posts:
27
Plugin Contributions:
0

Re: 10513 transaction cannot be processed. Please enter a last name.

DrByte:

It seems that their UK systems are still not in sync with the rest of their operations ...

The following may provide some relief, although I'm surprised that nobody else is reporting the same issue ...

Find this file: /includes/modules/payment/paypal/paypal_curl.php
around line 204 you'll see this:if (($fname . $lname) !== null && !isset($values['NAME'])) { $values['NAME'] = $fname . ' ' . $lname; }Try replacing those 3 lines with this:```
$values['FIRSTNAME'] = $fname;
$values['LASTNAME'] = $lname;
if (isset($values['NAME'])) unset ($values['NAME']);


Thanks DrByte.

The problem still exists but thankfully, that work around is good for live transactions. Not tried sandbox, but they where working before anway.

**http://www.bargainz4u.co.uk**

Quality silver jewellery at low prices.