diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-31 13:41:58 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-31 13:41:58 -0500 |
commit | 9160ffe22e8afe191e0192fbff8f6a7b2b236f46 (patch) | |
tree | 975b388da950417719110b9d7b8996df794b4506 /BatchPayment.pm | |
parent | ca648e1ba593d759c74c062bf4056f7932982079 (diff) |
Added processor_id functionality
Diffstat (limited to 'BatchPayment.pm')
-rw-r--r-- | BatchPayment.pm | 9 |
1 files changed, 9 insertions, 0 deletions
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 |