Hi there,
I wish to redirect my customers to a different page than is default when they finish/cancel their order with PayPal.
I have to make sure that any hidden data is still sent to prestashop, to ensure that all orders are coming in.
I've found some code in /express_checkout/process.php, but i'm not quite sure how to change it properly:
private function _setPaymentDetails(&$fields)
{
// Required field
$fields['RETURNURL'] = PayPal::getShopDomainSsl(true, true)._MODULE_DIR_.$this->name.'/express_checkout/payment.php';
$fields['NOSHIPPING'] = '1';
$fields['BUTTONSOURCE'] = $this->getTrackingCode((int)Configuration::get('PAYPAL_PAYMENT_METHOD'));
Best,
Dave