Commit c5699c8d authored by rubofvil's avatar rubofvil
Browse files

Format and duplicated process in upgrade !48

parent f2509d20
......@@ -230,7 +230,6 @@ class CRM_Core_Payment_Redsys extends CRM_Core_Payment {
}
$miObj = new RedsysAPI();
$miObj->setParameter("Ds_Merchant_Amount", (int) (round($params["amount"] * 100)));
$miObj->setParameter("Ds_Merchant_Order", strval(self::formatAmount($params["contributionID"], 12)));
$miObj->setParameter("Ds_Merchant_MerchantCode", $this->_paymentProcessor["user_name"]);
......
......@@ -91,10 +91,6 @@ class CRM_Redsys_Upgrader extends CRM_Redsys_Upgrader_Base {
$this->addTokenPayment();
return TRUE;
}
public function upgrade_4018() {
$this->addTokenPayment();
return TRUE;
}
/**
* Add build menu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment