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.46k stars 9.29k forks source link

PayPal’s Client-side only JavaScript SDK on or after 31 July 2024! #38948

Open olgaIskra opened 1 month ago

olgaIskra commented 1 month ago

Preconditions and environment

Steps to reproduce

pay with PayPal

Expected result

module-paypal : Server-side JavaScript SDK

Actual result

module-paypal : JavaScript SDK - client side!!!!!

Additional information

Magento/Adobe... must change core module according to new PayPal requirements

Release note

Magento/Adobe... must change core module according to new PayPal requirements

Triage and priority

m2-assistant[bot] commented 1 month ago

Hi @olgaIskra. 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. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

hostep commented 1 month ago

To make the issue more clear, this seems to be a response to a question asked on #38591, I would suggest we close this one and re-open #38591 again.

olgaIskra commented 1 month ago

OK. But Adobe/Magento must very quickly change module: vendor/magento/module-paypal because Magento_Paypal/js/in-context/paypal-sdk go by client side, from 30.07 must go by server side

stkrelax commented 1 month ago

this seems to be quite important xD any updates on this ?

m2-assistant[bot] commented 1 month ago

Hi @engcom-Hotel. 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-Hotel commented 1 month ago

Hello @olgaIskra,

Thanks for the report and collaboration!

We are going through the official documentation of Paypal for Javascript SDK, but it is not mentioned there.

Please provide us with an official link for the same.

Thanks

olgaIskra commented 1 month ago

Hello! 1.This is link from PayPal: https://developer.paypal.com/api/rest/sandbox/card-testing/#link-creditcardgeneratorfortesting.

  1. Adobe/Magento must very quickly change module: vendor/magento/module-paypal because Magento_Paypal/js/in-context/paypal-sdk go by client side, from 30.07 must go by server side

Please look at the core code.

Olga.

engcom-Hotel commented 1 month ago

Thanks @olgaIskra for the reply!

Actually, I am expecting an official link with the date mentioned on it and saying that PayPal’s Client-side JavaScript SDK will not work after 31 July 2024.

However, I am unable to find the same in the given link. Please let us know if we missed anything there.

Thanks

olgaIskra commented 1 month ago

Online store owners received this message 25.01.2024:

At PayPal, one of our top priorities is to ensure both our and your customers have a safe and secure experience when making purchases or moving money online. In our commitment to enhancing the highest level of security to protect customer and transactional data, we will be discontinuing the use of PayPal’s Client-side only JavaScript SDK on or after 31 July 2024.

Our records show that your account has used Client-side only JavaScript SDK in the past 12 months for PayPal Checkout. This integration method may have been set up by using our integration guide or by copying prebuilt code and pasting it onto the pages on your website where you sell your products or services.

To avoid the interruption of service with PayPal, you must integrate PayPal Checkout in another way prior to 31 July 2024.

What do I need to do?

To avoid a discontinuation of service, we recommend merchants migrate from our Client-side only integration to our Server-side JavaScript SDK integration.

Here are some resource guides for developers:

Migration guide from Client-side only to Server-side JavaScript SDK PayPal Checkout Integration Guide If you need additional support, we encourage you to contact your web hosting company, ecommerce software provider, in-house web programmer or system administrator.

engcom-Hotel commented 1 month ago

Thanks @olgaIskra for more information on this issue. We are moving this issue On hold to discuss the same with the PO.

olgaIskra commented 1 month ago

Thank you! I am hoping for a quick change so that there is no need to turn off PayPal from the payment methods

stkrelax commented 1 week ago

Any updates on this ?