Originally Posted by
balihr
But it should be disabled... Does the problem occur when I context is *disabled*? Reason I'm asking this is because when disabled, you're submitting MARK to PayPal...
OK, so... this happens when you try to reply from mobile... This is wrong!
PayPal is set to Sole by default, but when you enable InContext, it will automatically switch to Mark. Here's the code from paypalwpp.php on line1584:
Code:
$options['SOLUTIONTYPE'] = 'Sole'; // Use 'Mark' for normal Express Checkout (where customer has a PayPal account), 'Sole' for Account-Optional. But Account-Optional must be enabled in your PayPal account under Selling Preferences.
// PayPal has acknowledged that they have a bug which prevents Account-Optional from working in InContext mode, so we have to use 'Mark' for InContext to work as of Dec 2015:
if ($this->use_incontext_checkout && $options['SOLUTIONTYPE'] == 'Sole') $options['SOLUTIONTYPE'] = 'Mark';
I don't know anything about this bug, but it seems it's been here for awhile... You can try commenting the last line:
Code:
// if ($this->use_incontext_checkout && $options['SOLUTIONTYPE'] == 'Sole') $options['SOLUTIONTYPE'] = 'Mark';
This would force Sole all the time. Give it a try and see if it helps.
Bookmarks