Skip to content

Conversation

@rodrigoprimo
Copy link
Contributor

Changes proposed in this Pull Request:

This PR removes the setting "Page style" from WooCommerce -> Settings -> Payments -> PayPal Standard. This setting was used to define the value of the parameter "page_style" passed to the PayPal Standard API, but PayPal deprecated this parameter and ignores it. According to PayPal in https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/?mark=page_style#deprecated-variables: "Deprecated variables are ignored when you pass them to PayPal". In the same link, you can see that "page_style" is included in the list of deprecated parameters.

Closes #26494.

How to test the changes in this Pull Request:

  1. Check the PayPal documentation to confirm that "page_style" has been deprecated and is now ignored by PayPal.
  2. Test that PayPal Standard gateway still works.

Changelog entry

Fix: Remove deprecated PayPal Standard "Page Style" setting

This commit removes the setting "Page style" from WooCommerce -> Settings -> Payments -> PayPal Standard. This setting was used to define the value of the parameter "page_style" passed to the PayPal Standard API, but PayPal deprecated this parameter and ignores it. According to PayPal in https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/?mark=page_style#deprecated-variables: "Deprecated variables are ignored when you pass them to PayPal". In the same link, you can see that "page_style" is included in the list of deprecated parameters.
@rodrigoprimo rodrigoprimo added this to the 4.9.0 milestone Dec 4, 2020
@rodrigoprimo rodrigoprimo requested review from a team and Konamiman and removed request for a team December 4, 2020 18:02
@Konamiman Konamiman merged commit 15315d2 into master Dec 9, 2020
@Konamiman Konamiman deleted the fix/26494 branch December 9, 2020 11:32
@woocommercebot woocommercebot added release: add changelog Mark all PRs that have not had their changelog entries added. [auto] release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto] labels Dec 9, 2020
@vedanshujain vedanshujain removed the release: add changelog Mark all PRs that have not had their changelog entries added. [auto] label Dec 21, 2020
@juliaamosova juliaamosova added testing instructions added and removed release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto] labels Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PayPal "style" deprecated on WooCommerce setup payment method

6 participants