Skip to content

Commit

Permalink
Update code/InvoicePage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Freeman committed Jan 26, 2012
1 parent 4aaa856 commit 155ed5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/InvoicePage.php
Expand Up @@ -177,9 +177,7 @@ public function pay() {

$inv = $this->getInvoice();

if($this->EnableOnlinePayments) {
Requirements::customScript("Stripe.setPublishableKey('" . $this->PublicPaymentAPIKey . "');");
}
Requirements::customScript("Stripe.setPublishableKey('" . $this->PublicPaymentAPIKey . "');");

return $this->customise(array(
'Title' => 'Make a Payment',
Expand Down

0 comments on commit 155ed5c

Please sign in to comment.