magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.57k stars 9.32k forks source link

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

Open HyflerSD opened 4 days ago

HyflerSD commented 4 days ago

Preconditions and environment

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

m2-assistant[bot] commented 4 days ago

Hi @HyflerSD. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.

m2-assistant[bot] commented 4 days ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 2 days ago

Hi @HyflerSD,

Thanks for your reporting and collaboration.

We have verified the issue in Latest Magento instance and the issue is reproducible.Kindly refer the screenshots.

Screenshot 2024-11-21 at 10 43 24

Spinning wheel stays on screen.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 2 days ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-13383 is successfully created for this GitHub issue.

m2-assistant[bot] commented 2 days ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

HyflerSD commented 2 days ago

@engcom-Bravo Thank you for the notice and working on the issue!