hook_receipt_payment_url

Definition

hook_receipt_payment_url($receipt, $atype, $object)
ecommerce-5--4/docs/developer/hooks/ec_receipt.php, line 182

Parameters

$receipt A blank receipt is past to the system for the payment to be connected to. The identifier for the payment is against the receipt and not the transactions.

$type The allocation type which corresponds to the $object which can be past to the e-Commerce Receipt allocation interface.

$object This is a data type which can pass the information to the allocation interface to reteive data from the object.

Return value

Return the url which is past to drupal_goto() to be devirted to the hosted payment gateway system.

Code

<?php
function hook_receipt_payment_url($receipt, $atype, $object) {
}
?>