diff --git a/plg_hikashoppayment_triplea/triplea.php b/plg_hikashoppayment_triplea/triplea.php index 4af4a3d..3429fd9 100644 --- a/plg_hikashoppayment_triplea/triplea.php +++ b/plg_hikashoppayment_triplea/triplea.php @@ -51,18 +51,18 @@ class plgHikashoppaymentTriplea extends hikashopPaymentPlugin{ CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ - "type": '.$type.', - "merchant_key": '.$merchant_key.', - "order_currency": '.$order_currency.', + "type": "'.$type.'", + "merchant_key": "'.$merchant_key.'", + "order_currency": "'.$order_currency.'", "order_amount": '.$order_amount.', - "payer_id": '.$payer_id.', - "success_url": '.$success_url.', - "cancel_url": '.$cancel_url.', - "notify_url": '.$notiry_url.', - "notify_secret": '.$notify_secret.', + "payer_id": "'.$payer_id.'", + "success_url": "'.$success_url.'", + "cancel_url": "'.$cancel_url.'", + "notify_url": "'.$notiry_url.'", + "notify_secret": "'.$notify_secret.'", "notify_txs": '.$notify_txs.', "webhook_data": { - "order_id": '.$order_id.' + "order_id": "'.$order_id.'" }, "sandbox": '.$sandbox.' }', diff --git a/plg_hikashoppayment_triplea/triplea.xml b/plg_hikashoppayment_triplea/triplea.xml index 1daa3ba..1dc1f16 100644 --- a/plg_hikashoppayment_triplea/triplea.xml +++ b/plg_hikashoppayment_triplea/triplea.xml @@ -10,7 +10,7 @@ http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL This plugin enables you to setup your TripleA payment system - triplea.php + triplea.php triplea_end.php index.html