• Resolved temprano

    (@temprano)


    Hi,

    Thanks for a great plugin!

    Starting in the last 2 weeks we have had an increase in Failed Payments with credit cards. The error is:

    Error processing payment. Reason: Description is too long

    My guess is the lineItems > description should be truncated at 127 characters before sending to Braintree. Braintree-Error-95803

    Array from debug log below.

    2019-09-19T20:08:41+00:00 INFO Processing payment for order 41793. Transaction args: Array
    (
        [amount] => 567.00
        [taxAmount] => 0
        [shippingAmount] => 0.00
        [discountAmount] => 0
        [customer] => Array
            (
                [firstName] => ******
                [lastName] => *********
                [phone] => ********
                [email] => ***********.com
                [company] => ***********
            )
    
        [orderId] => CAWC-17577
        [billing] => Array
            (
                [firstName] => ******
                [lastName] => ******
                [locality] => Albuquerque
                [postalCode] => 87110
                [region] => NM
                [streetAddress] => **********
                [extendedAddress] => *********
                [countryCodeAlpha2] => US
            )
    
        [shipping] => Array
            (
                [firstName] => **********
                [lastName] => *******
                [locality] => Albuquerque
                [postalCode] => 87110
                [region] => NM
                [streetAddress] => ***********
                [extendedAddress] => **********
                [countryCodeAlpha2] => US
            )
    
        [merchantAccountId] => ***********
        [channel] => PaymentPlugins_BT
        [options] => Array
            (
                [submitForSettlement] => 1
                [storeInVaultOnSuccess] => 
            )
    
        [descriptor] => Array
            (
            )
    
        [deviceData] => 
        [lineItems] => Array
            (
                [0] => Array
                    (
                        [description] => Fortinet FortiGate-80E / FG-80E Support - UTM Bundle - 24x7 FortiCare plus NGFW, AV, Web Filtering + Antispam Services for 1 Yr x 1
                        [kind] => debit
                        [name] => Fortinet FortiGate-80E / FG-80E Su
                        [productCode] => 1186
                        [quantity] => 1
                        [totalAmount] => 567
                        [unitAmount] => 567
                        [taxAmount] => 0
                    )
    
            )
    
        [customerId] => *********
        [paymentMethodToken] => **********
    )

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @temprano,

    Thanks for reaching out.

    I will perform some tests on my end using your product descriptions and see if I can re-create. We actually check for description length greater than 127 and truncate it if it’s more. If we discover there is an issue I will release an update immediately. Sorry for your trouble.

    Kind regards,

    Plugin Author Clayton R

    (@mrclayton)

    Hi @temprano,

    I was able to verify that the issue lies with how we are truncating the description. We are planning on releasing an update this evening that will resolve that issue. Thank you for reaching out and bringing it to our attention.

    Kind regards,

    Thread Starter temprano

    (@temprano)

    Hi @mrclayton,

    Thanks for the quick response and fix!

    I’ll confirm all is fixed once released.

    Have a great weekend,

    Ron

    Plugin Author Clayton R

    (@mrclayton)

    Hi @temprano,

    We decided to wait a little longer to release the next version because of some other additional features being added. You can reach out to our support email and we’ll send you a copy of the fix so you don’t have to wait.

    Kind regards,

    Plugin Author Clayton R

    (@mrclayton)

    @temprano,

    New version released.

    Kind regards,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error processing payment. Reason: Description is too long’ is closed to new replies.