bugfix incorrect variable name

This commit is contained in:
Nathan Coad
2016-07-22 15:17:58 +10:00
parent b102d4c496
commit a7d33c6239
2 changed files with 2 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ function _booking_get_stripe_private_key() {
* Helper function to generate paypal form for payments
*/
function _booking_stripe_form($person, $invoiceid, $net_amount_owing, $button_text) {
$payment_form = drupal_get_form('booking_stripe_form', $person, $invoiceid, $amount_owing, $button_text);
$payment_form = drupal_get_form('booking_stripe_form', $person, $invoiceid, $net_amount_owing, $button_text);
return drupal_render($payment_form);
}