ok well I've hacked a solution here but maybe someone can explain this.
After tracing through the code I think I've found the problem to be here:
paypalwpp.php
function ec_step2_finish
lines 2012 and 2195, it's the same in two places
PHP Code:
if ($_SESSION['paypal_ec_markflow'] == 1) {
$this->terminateEC('', false, FILENAME_CHECKOUT_PROCESS);
} else {
$this->terminateEC('', false, FILENAME_CHECKOUT_CONFIRMATION);
}
So I've basically just commented this out and just use this every time:
PHP Code:
$this->terminateEC('', false, FILENAME_CHECKOUT_PROCESS);
So far I see no negative side effects. I checked the CURL log and the DoExpressCheckout is successful. So can anyone tell me what 'paypal_ec_markflow' actually means, and why it's set to one when there's shipping involved, and not with virtual products???
Thanks
Bookmarks