Skip to content

Commit d494d7b

Browse files
authored
Merge pull request #95 from p-maguire/5.1.x
SP-1062 Release WHMCS v5.1.0
2 parents 7f1fc39 + ae1b5b6 commit d494d7b

File tree

217 files changed

+6689
-4195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+6689
-4195
lines changed

modules/gateways/bitpaycheckout.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* BitPay Checkout 5.0.0
3+
* BitPay Checkout 5.1.0
44
*
55
* Within the module itself, all functions must be prefixed with the module
66
* filename, followed by an underscore, and then the function name. For this
@@ -149,8 +149,8 @@ function bitpaycheckout_link($config_params)
149149
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
150150

151151
<?php
152-
153-
$client = new PosClient($bitpay_checkout_token, $bitpay_checkout_endpoint);
152+
$platformInfo = 'BitPay_WHCMS_v5.1.0';
153+
$client = new PosClient($bitpay_checkout_token, $bitpay_checkout_endpoint, $platformInfo);
154154

155155
// Check to make sure we don't already have a valid BitPay Invoice active
156156
$checkDup = Capsule::table('_bitpay_checkout_transactions')

modules/gateways/bitpaycheckout/callback/bitpaycheckout_ipn.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* BitPay Checkout IPN 5.0.0
4+
* BitPay Checkout IPN 5.1.0
55
*
66
* This file verifies that the payment gateway module is active,
77
* validates an Invoice ID, checks for the existence of a Transaction ID,

modules/gateways/bitpaycheckout/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"bitpay/sdk": "^9.0",
13+
"bitpay/sdk": "^9.1",
1414
"php": "^8.1 || ^8.2 || ^8.3"
1515
}
1616
}

modules/gateways/bitpaycheckout/composer.lock

+50-50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)