Unverified Commit 66842119 authored by rubofvil's avatar rubofvil Committed by GitHub
Browse files

Bug updating contribution status greater than 1000

parent ab0e39da
......@@ -54,7 +54,7 @@ class CRM_Core_Payment_RedsysIPN extends CRM_Core_Payment_BaseIPN {
$contribution = &$objects['contribution'];
if (!$recur) {
if ($contribution->total_amount != $input['amount']) {
if (str_replace(",", "", $contribution->total_amount) != str_replace(",", "", $input['amount']) ) {
CRM_Core_Error::debug_log_message("Amount values dont match between database and IPN request");
echo "Failure: Amount values dont match between database and IPN request<p>";
return FALSE;
......
Supports Markdown
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