SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit defab0fec239b7a1af053f7cc4f2ea07cd08ac3f
parent cf302467920312c75f2be6f816307744d9872378
Author: Chris Pollard <therealchrispollard@gmail.com>
Date:   Fri, 15 Apr 2022 15:23:41 +1000

Fix plugin syntax error (#66)


Diffstat:
Mgateways/woo_satsale.php | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gateways/woo_satsale.php b/gateways/woo_satsale.php @@ -136,13 +136,14 @@ function satsale_init_gateway_class() { $args = array( 'amount' => $order->get_total(), 'w_url' => $this->callback_URL, - 'id' => $order_id) + 'id' => $order_id + ); write_log($args); $key = hex2bin($this->SatSale_API_Key); - $payment_url = add_query_arg( + $payment_url = add_query_arg( $args, $this->satsale_server_url . '/pay' );