magento2
magento2 copied to clipboard
PayPal’s Client-side only JavaScript SDK on or after 31 July 2024!
Preconditions and environment
- Magento version : 2.4.5
- Module:vendor/magento/module-paypal : Magento_Paypal/js/in-context/paypal-sdk !!!!!
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
- [X] 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”.
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:
@magento give me 2.4-develop instance- upcoming 2.4.x release- For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this - To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
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.
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
this seems to be quite important xD any updates on this ?
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:
- [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
- [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
- [ ] 3. Add
Area: XXXXXlabel to the ticket, indicating the functional areas it may be related to. - [ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! - [ ] 5. Add label
Issue: Confirmedonce verification is complete. - [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
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
Hello! 1.This is link from PayPal: https://developer.paypal.com/api/rest/sandbox/card-testing/#link-creditcardgeneratorfortesting.
- 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.
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
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.
Thanks @olgaIskra for more information on this issue. We are moving this issue On hold to discuss the same with the PO.
Thank you! I am hoping for a quick change so that there is no need to turn off PayPal from the payment methods
Any updates on this ?
Hello @olgaIskra,
We have a reply from PayPal and according to them Adobe payment services already use Server Side API calls and were not impacted by this. I do not believe there is any concern or work needed.
Hence we are closing this issue.
Thanks