Skip to content

Commit

Permalink
Merge pull request #66 from thejoshualewis/master
Browse files Browse the repository at this point in the history
Coinbase Update
  • Loading branch information
thejoshualewis authored Sep 10, 2020
2 parents c2752e4 + 5e13d9e commit 7e44c30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/gateways/bitpaycheckout.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* BitPay Checkout 3.0.1.4
* BitPay Checkout 3.0.1.5
*
* Within the module itself, all functions must be prefixed with the module
* filename, followed by an underscore, and then the function name. For this
Expand Down Expand Up @@ -54,7 +54,7 @@ function bitpaycheckout_MetaData()
{
return array(
'DisplayName' => 'BitPay_Checkout_WHCMS',
'APIVersion' => '3.0.1.4', // Use API Version 1.1
'APIVersion' => '3.0.1.5', // Use API Version 1.1
'DisableLocalCreditCardInput' => false,
'TokenisedStorage' => false,
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* BitPay Checkout Callback 3.0.1.4
* BitPay Checkout Callback 3.0.1.5
*
* This file demonstrates how a payment gateway callback should be
* handled within WHMCS.
Expand Down
4 changes: 2 additions & 2 deletions modules/gateways/bitpaycheckout/bitpaycheckout_ipn.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* BitPay Checkout IPN 3.0.1.4
* BitPay Checkout IPN 3.0.1.5
*
* This file demonstrates how a payment gateway callback should be
* handled within WHMCS.
Expand Down Expand Up @@ -55,7 +55,7 @@
if($btn_id):
switch ($event['name']) {
#complete, update invoice table to Paid
case 'invoice_confirmed':
case 'invoice_completed':

$table = "tblinvoices";
$update = array("status" => 'Paid','datepaid' => date("Y-m-d H:i:s"));
Expand Down

0 comments on commit 7e44c30

Please sign in to comment.