X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pay_pending.pm;h=f03ed1f3aaa525849ae900b8eb6ea09ccc9e8e18;hb=3c54c844c665ed108c7892a154fd3972fab1f3e5;hp=f48e1a8c1559b558a8f3f4f1f9c34696f885f3d8;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git diff --git a/FS/FS/cust_pay_pending.pm b/FS/FS/cust_pay_pending.pm index f48e1a8c1..f03ed1f3a 100644 --- a/FS/FS/cust_pay_pending.pm +++ b/FS/FS/cust_pay_pending.pm @@ -96,6 +96,10 @@ Aquires basic lock on payunique Transaction is pending with the gateway +=item thirdparty + +Customer has been sent to an off-site payment gateway to complete processing + =item authorized Only used for two-stage transactions that require a separate capture step @@ -120,9 +124,9 @@ Transaction recorded in database Additional status information. -=cut +=item gatewaynum -#=item cust_balance - +L id. =item paynum - @@ -292,10 +296,10 @@ sub insert_cust_pay { } -=item decline +=item decline [ STATUSTEXT ] -Sets the status of this pending pament to "done" (with statustext -"declined (manual)"). +Sets the status of this pending payment to "done" (with statustext +"declined (manual)" unless otherwise specified). Currently only used when resolving pending payments manually. @@ -303,11 +307,12 @@ Currently only used when resolving pending payments manually. sub decline { my $self = shift; + my $statustext = shift || "declined (manual)"; #could send decline email too? doesn't seem useful in manual resolution $self->status('done'); - $self->statustext("declined (manual)"); + $self->statustext($statustext); $self->replace; }