diff options
author | mark <mark> | 2011-05-12 19:57:01 +0000 |
---|---|---|
committer | mark <mark> | 2011-05-12 19:57:01 +0000 |
commit | b8d1f6382bd483b4c5718a7930ea2493a1686d50 (patch) | |
tree | af56ca4bc98e92a46e2f686f9bb52026c5ebed48 /FS/FS/ClientAPI/Signup.pm | |
parent | 83053569b3d965924e2e1d4f5b199609ec7c29af (diff) |
new status for pending third-party payments, fix for #12808
Diffstat (limited to 'FS/FS/ClientAPI/Signup.pm')
-rw-r--r-- | FS/FS/ClientAPI/Signup.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index b18f21f74..6c9e81261 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -904,8 +904,8 @@ sub capture_payment { return { error => '_decline', bill_error => $bill_error }; } - if ($cust_pay_pending->status ne 'pending') { - my $bill_error = "Payment with id $paypendingnum is not pending, but ". + if ($cust_pay_pending->status ne 'thirdparty') { + my $bill_error = "Payment with id $paypendingnum is not thirdparty, but ". $cust_pay_pending->status. "; Transaction aborted."; return { error => '_decline', bill_error => $bill_error }; } |