mirror of
https://github.com/kikobar/hikashoppayment-triplea.git
synced 2024-11-16 12:12:16 +00:00
Fix metadata in triplea.xml and double quote errors
This commit is contained in:
parent
3e7bafa21f
commit
26185c90a7
|
@ -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.'
|
||||
}',
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
|
||||
<description>This plugin enables you to setup your TripleA payment system</description>
|
||||
<files>
|
||||
<filename plugin="okpay">triplea.php</filename>
|
||||
<filename plugin="triplea">triplea.php</filename>
|
||||
<filename>triplea_end.php</filename>
|
||||
<filename>index.html</filename>
|
||||
</files>
|
||||
|
|
Loading…
Reference in a new issue