Skip to content

Commit

Permalink
Merge pull request #15523 from jamie-tillman/patch-1
Browse files Browse the repository at this point in the history
PayPalImpl: Add SOLUTIONTYPE parameter that triggers allowing to pay without having to create a paypal account.
  • Loading branch information
mlutfy authored Dec 2, 2019
2 parents a100425 + 7041ce4 commit 97b52bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Core/Payment/PayPalImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ protected function setExpressCheckOut(&$params) {
$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'])) {
Expand Down

0 comments on commit 97b52bf

Please sign in to comment.