X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=BatchPayment.pm;h=8f4eaac0c420a3c44d6b7a709947d978c7536c14;hb=9160ffe22e8afe191e0192fbff8f6a7b2b236f46;hp=abc2a8380207c9d3d4d2d43df9184ad1dc3c4e70;hpb=ca648e1ba593d759c74c062bf4056f7932982079;p=Business-BatchPayment.git diff --git a/BatchPayment.pm b/BatchPayment.pm index abc2a83..8f4eaac 100644 --- a/BatchPayment.pm +++ b/BatchPayment.pm @@ -55,6 +55,15 @@ our $VERSION = '0.02_01'; ... process items and record successful/failed payments } + # if your processor uses processor_id... + + $processor->submit(@request); + foreach (@request) { + ... record process_id for that request + } + # later... + my @reply = $processor->receive(@process_ids); + =head1 CLASS METHODS =over 4