Created
March 24, 2019 11:37
-
-
Save ahmednasir91/8d505e67a6e247535c3a911f485276ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<file name="catalog/controller/payment_pro.php" error="skip"> | |
<operation> | |
<search position="after"><![CDATA[ | |
$result = curl_exec($curl); | |
]]></search> | |
<add trim="true"><![CDATA[ | |
// Payment Pro | |
$id = $payment_data_array['id']; | |
// ... | |
$this->db->query("UPDATE " . DB_PREFIX . "payment_pro SET id = '" . $this->db->escape($id) . "', amount = '" .$this->db->escape($amount). "' WHERE `order_id` = '" . $order_info['order_id'] . "'"); | |
// End Payment Pro | |
]]></add> | |
</operation> | |
</file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment