mirror of
https://github.com/kikobar/hikashoppayment-triplea.git
synced 2024-12-22 13:54:13 +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_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||||
CURLOPT_POSTFIELDS =>'{
|
CURLOPT_POSTFIELDS =>'{
|
||||||
"type": '.$type.',
|
"type": "'.$type.'",
|
||||||
"merchant_key": '.$merchant_key.',
|
"merchant_key": "'.$merchant_key.'",
|
||||||
"order_currency": '.$order_currency.',
|
"order_currency": "'.$order_currency.'",
|
||||||
"order_amount": '.$order_amount.',
|
"order_amount": '.$order_amount.',
|
||||||
"payer_id": '.$payer_id.',
|
"payer_id": "'.$payer_id.'",
|
||||||
"success_url": '.$success_url.',
|
"success_url": "'.$success_url.'",
|
||||||
"cancel_url": '.$cancel_url.',
|
"cancel_url": "'.$cancel_url.'",
|
||||||
"notify_url": '.$notiry_url.',
|
"notify_url": "'.$notiry_url.'",
|
||||||
"notify_secret": '.$notify_secret.',
|
"notify_secret": "'.$notify_secret.'",
|
||||||
"notify_txs": '.$notify_txs.',
|
"notify_txs": '.$notify_txs.',
|
||||||
"webhook_data": {
|
"webhook_data": {
|
||||||
"order_id": '.$order_id.'
|
"order_id": "'.$order_id.'"
|
||||||
},
|
},
|
||||||
"sandbox": '.$sandbox.'
|
"sandbox": '.$sandbox.'
|
||||||
}',
|
}',
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
|
<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>
|
<description>This plugin enables you to setup your TripleA payment system</description>
|
||||||
<files>
|
<files>
|
||||||
<filename plugin="okpay">triplea.php</filename>
|
<filename plugin="triplea">triplea.php</filename>
|
||||||
<filename>triplea_end.php</filename>
|
<filename>triplea_end.php</filename>
|
||||||
<filename>index.html</filename>
|
<filename>index.html</filename>
|
||||||
</files>
|
</files>
|
||||||
|
|
Loading…
Reference in a new issue