Skip to content

Commit

Permalink
SP-1061: Add Platform Info to Client
Browse files Browse the repository at this point in the history
  • Loading branch information
p-maguire committed Sep 5, 2024
1 parent ffd62b0 commit c95edae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gateways/bitpaycheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ function bitpaycheckout_link($config_params)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<?php

$client = new PosClient($bitpay_checkout_token, $bitpay_checkout_endpoint);
$platformInfo = 'BitPay_WHCMS_v5.1.0';
$client = new PosClient($bitpay_checkout_token, $bitpay_checkout_endpoint, $platformInfo);

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

0 comments on commit c95edae

Please sign in to comment.