Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Installation in xt:Commerce 3.0.4 SP2.1

Datei checkout_confirmation.php

// PP Ratenkauf start
if($_GET['PayerID']!='' AND $_SESSION['reshash']['TOKEN']!='' AND (strtoupper($_SESSION['reshash']["ACK"])=="SUCCESS" OR strtoupper($_SESSION['reshash']["ACK"])=="SUCCESSWITHWARNING")) {
	$_POST['conditions']='1';
	
	$file = DIR_WS_CLASSES . 'paypal_ratenkauf_api.php';
	if (file_exists ( $file )) {
		include_once ($file);
	}
	
	$ppi = new paypal_ratenkauf_api();
	$ppi->paypalGetCustomerData();
	
}
// PP Ratenkauf end

Einfügen nach:

//-- TheMedia Begin check if display conditions on checkout page is true
if (isset ($_POST['cot_gv']))
	$_SESSION['cot_gv'] = true;
// if conditions are not accepted, redirect the customer to the payment method selection page



  • No labels