Skip to content

Paypal Payflow Spinning wheel, failing to send charge request #39386

Open
@HyflerSD

Description

@HyflerSD

Preconditions and environment

  • Magento version: 2.4.7-p1
  • Paypal Payflow Pro, sometimes does not send the request to charge the sale

Many customers who are having this issue of the spinning wheel. I looked at a lot of the logs and noticed very long response times. Could this be because of my server or is this to do with payflow? What happens in many of these cases is that the payflow response from the redirect is the last thing that happens, the subsequent charge request does not trigger. Even after multiple attempts for some customers it does not work. However it works for other customers, but still takes a long time (over 15 seconds after hitting place order for most customer. I've also attached a video from our monitoring tool
image

Steps to reproduce

Have magento 2.4.7-p1 and use paypal payflow pro credit card

  1. Add items to cart
  2. select payflow credit card option
  3. Place order button

Expected result

Order placed Succesfully and customer redirected to order success page

Actual result

Spinning wheel stays on screen due to charge request not going out
infinite.webm

Additional information

There are no errors in the logs, just the payment log here with payflow cycle missing the actual charge request.

[2024-11-14T17:59:42.401747+00:00] main.DEBUG: array (
'request' =>
array (
'user' => '',
'vendor' => 'ntsecurity',
'partner' => 'PayPal',
'pwd' => '',
'verbosity' => 'HIGH',
'BUTTONSOURCE' => 'Magento_2_Community',
'tender' => 'C',
'trxtype' => 'A',
'amt' => 0,
'currency' => 'USD',
'createsecuretoken' => 'Y',
'securetokenid' => 'PTI3SjYfuFjTMcu2u3LKWmzq28IQRziw',
'returnurl' => 'https://www.website.com/paypal/transparent/redirect/',
'errorurl' => 'https://www.website.com/paypal/transparent/redirect/',
'cancelurl' => 'https://www.website.com/paypal/transparent/redirect/',
'disablereceipt' => 'TRUE',
'silenttran' => 'TRUE',
'firstname' => 'User',
'lastname' => 'Lastnallor',
'street' => 'some street',
'city' => 'Salinas',
'state' => 'CA',
'zip' => '93907',
'country' => 'US',
'email' => 'user@email.com',
'shiptofirstname' => 'User',
'shiptolastname' => 'Lastnallor',
'shiptostreet' => 'some street',
'shiptocity' => 'Salinas',
'shiptostate' => 'CA',
'shiptozip' => '93907',
'shiptocountry' => 'US',
),
'result' =>
array (
'result' => '0',
'securetoken' => 'FqVKwTig2Ik6Sqzo7fjOe3AO4',
'securetokenid' => 'PTI3SjYfuFjTMcu2u3LKWmzq28IQRziw',
'respmsg' => 'Approved',
'result_code' => '0',
),
) [] []
[2024-11-14T17:59:50.036746+00:00] main.DEBUG: array (
'PayPal PayflowPro redirect:' =>
array (
'ZIP' => '93907',
'BILLTOCOUNTRY' => 'US',
'TRANSTIME' => '2024-11-14 09:59:46',
'FIRSTNAME' => 'User',
'EMAIL' => 'user@email.com',
'ACCT' => '',
'STATETOSHIP' => 'CA',
'RRN' => '9wcgrn8f',
'SECURETOKENID' => 'PTI3SjYfuFjTMcu2u3LKWmzq28IQRziw',
'AVSDATA' => 'YYY',
'COUNTRY' => 'US',
'EXPDATE' => '',
'LASTNAME' => 'Lastnallor',
'VERIFICATIONID' => '9wcgrn8f',
'SHIPTOZIP' => '93907',
'BILLTOFIRSTNAME' => 'User',
'ADDRESSTOSHIP' => 'some street',
'CVV2MATCH' => 'X',
'RESPTEXT' => 'verified',
'SECURETOKEN' => 'FqVKwTig2Ik6Sqzo7fjOe3AO4',
'SHIPTOCITY' => 'Salinas',
'RESPMSG' => 'Verified',
'BILLTOEMAIL' => 'user@email.com',
'AMT' => '0.00',
'TRANSACTIONID' => '9wcgrn8f',
'NAME' => 'User Name',
'SHIPTOCOUNTRY' => 'US',
'BILLTONAME' => 'User Name',
'ADDRESS' => 'some street ',
'PNREF' => 'BP3K9B4FDD6B',
'BILLTOSTREET' => 'some street',
'STATE' => 'CA',
'AVSADDR' => 'Y',
'BILLTOSTATE' => 'CA',
'COUNTRYTOSHIP' => 'US',
'AVSZIP' => 'Y',
'BILLTOZIP' => '93907',
'BILLTOCITY' => 'Salinas',
'SHIPTOSTATE' => 'CA',
'CITYTOSHIP' => 'Salinas',
'NAMETOSHIP' => 'User Name',
'SHIPTOSTREET' => 'some street',
'PROCAVS' => 'Y',
'CITY' => 'Salinas',
'ZIPTOSHIP' => '93907',
'BILLTOLASTNAME' => 'Lastnallor',
'CARDTYPE' => '3',
'RESULT' => '0',
),
) [] []
[2024-11-14T17:59:51.206255+00:00] main.DEBUG: array (
'PayPal PayflowPro response:' =>
array (
'ZIP' => '93907',
'BILLTOCOUNTRY' => 'US',
'TRANSTIME' => '2024-11-14 09:59:46',
'FIRSTNAME' => 'User',
'EMAIL' => 'user@email.com',
'ACCT' => '',
'STATETOSHIP' => 'CA',
'RRN' => '9wcgrn8f',
'SECURETOKENID' => 'PTI3SjYfuFjTMcu2u3LKWmzq28IQRziw',
'AVSDATA' => 'YYY',
'COUNTRY' => 'US',
'EXPDATE' => '',
'LASTNAME' => 'Lastnallor',
'VERIFICATIONID' => '9wcgrn8f',
'SHIPTOZIP' => '93907',
'BILLTOFIRSTNAME' => 'User',
'ADDRESSTOSHIP' => 'some street',
'CVV2MATCH' => 'X',
'RESPTEXT' => 'verified',
'SECURETOKEN' => 'FqVKwTig2Ik6Sqzo7fjOe3AO4',
'SHIPTOCITY' => 'Salinas',
'RESPMSG' => 'Verified',
'BILLTOEMAIL' => 'user@email.com',
'AMT' => '0.00',
'TRANSACTIONID' => '9wcgrn8f',
'NAME' => 'User Name',
'SHIPTOCOUNTRY' => 'US',
'BILLTONAME' => 'User Name',
'ADDRESS' => 'some street',
'PNREF' => 'BP3K9B4FDD6B',
'BILLTOSTREET' => 'some street',
'STATE' => 'CA',
'AVSADDR' => 'Y',
'BILLTOSTATE' => 'CA',
'COUNTRYTOSHIP' => 'US',
'AVSZIP' => 'Y',
'BILLTOZIP' => '93907',
'BILLTOCITY' => 'Salinas',
'SHIPTOSTATE' => 'CA',
'CITYTOSHIP' => 'Salinas',
'NAMETOSHIP' => 'User Name',
'SHIPTOSTREET' => 'some street',
'PROCAVS' => 'Y',
'CITY' => 'Salinas',
'ZIPTOSHIP' => '93907',
'BILLTOLASTNAME' => 'Lastnallor',
'CARDTYPE' => '3',
'RESULT' => '0',
),
) [] []

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: OrderComponent: PaypalIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.7-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions