
Originally Posted by
gernot
Hello @lat9
That worked perfectly, thank you very much. I could capture the transaction successfully.
I did find something else odd though. I thought I would set the payment option from "Auth Only" to "Final Sale", and that ended up breaking the order display page completely, blank from the Paypal display onwards.
It turns out that line 476 (in the new file, the old file has it also) has a key MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE which does not seem to exist, as I have not installed the Paypments Pro module:
PHP Code:
if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') {
I suppose this is some kind of bug as it appears in the paypalwpp_admin_notification.php file.
Yep, here's the change that I'll be submitting to correct that issue, adding the highlighted lines prior to that 'if' statement:
Code:
zen_define_default('MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE', '');
zen_define_default('MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE', '');
if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE === 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE === 'Auth Only') {
if (method_exists($this, '_doAuth')) {