From 7041ce4a77ab49ca882d2b7891756d49e4810f63 Mon Sep 17 00:00:00 2001 From: jamie-tillman <52583757+jamie-tillman@users.noreply.github.com> Date: Wed, 16 Oct 2019 15:20:28 -0400 Subject: [PATCH] Update PayPalImpl.php Add SOLUTIONTYPE parameter that triggers allowing to pay without having to create a paypal account. Without this parameter, PayPal account creation is required to complete a transaction. I can think of no reason why anyone would want to default to requiring account creation for a PayPal checkout unless they were actually a marketer at PayPal. --- CRM/Core/Payment/PayPalImpl.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 905e369a61..831ca45320 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -257,6 +257,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment { $args['returnURL'] = $this->getReturnSuccessUrl($params['qfKey']); $args['cancelURL'] = $this->getCancelUrl($params['qfKey'], NULL); $args['version'] = '56.0'; + $args['SOLUTIONTYPE'] = 'Sole'; //LCD if recurring, collect additional data and set some values if (!empty($params['is_recur'])) { -- 2.25.1