hook_receipt_payment_form

Definition

hook_receipt_payment_form($type, $object)
ecommerce-5--4/docs/developer/hooks/ec_receipt.php, line 111

Description

Build a form for collecting the payment information.

This will generally be used on the checkout review page which will collect the information that is required to charge the customer.

Parameters

$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 form which can be displayed.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

<?php
function hook_receipt_payment_form($type, $object) {
}
?>