Skip to content

Commit

Permalink
Fix: PayPal onboarding with email address that has plus sign (#7393)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Waldstein <[email protected]>
  • Loading branch information
jonwaldstein and Jon Waldstein authored Dec 10, 2024
1 parent 5d7d4b6 commit fe74928
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public function boot()
/**
* Save PayPal merchant details
*
* @unreleased fix parsing email with special characters
* @since 2.32.0 Remove second argument from updateSellerAccessToken function.
* @since 2.25.0 Handle exception.
* @since 2.9.0
Expand All @@ -138,7 +139,7 @@ public function boot()
*/
private function savePayPalMerchantDetails()
{
$paypalGetData = wp_parse_args($_SERVER['QUERY_STRING']);
$paypalGetData = wp_parse_args(str_replace("+", rawurlencode("+"), $_SERVER['QUERY_STRING']));
$partnerLinkInfo = $this->settings->getPartnerLinkDetails();
$tokenInfo = $this->settings->getAccessToken();

Expand Down

0 comments on commit fe74928

Please sign in to comment.