developer:perl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developer:perl [2009/01/29 12:18]
tem
developer:perl [2011/05/10 09:22] (current)
irina
Line 11: Line 11:
 $ua = LWP::​UserAgent->​new;​ $ua = LWP::​UserAgent->​new;​
 $res = $ua->​post('​https://​sandbox.usaepay.com/​gate',​ [ $res = $ua->​post('​https://​sandbox.usaepay.com/​gate',​ [
- '​UMkey'​ => "OEyB1Ziz4i4anLLMQAe7OR6Z13mQAkq1",+ '​UMkey'​ => "Your_source_key_here",
  '​UMname'​ => "​Example Tester",​  '​UMname'​ => "​Example Tester",​
  '​UMcard'​ => "​4444555566667779",​  '​UMcard'​ => "​4444555566667779",​
Line 37: Line 37:
 use Digest::​SHA1 ​ qw(sha1 sha1_hex sha1_base64);​ use Digest::​SHA1 ​ qw(sha1 sha1_hex sha1_base64);​
  
-$sourcekey = 'fTU2rg5afrEGazF6ew6PBk6ts0G8gvB0';+$sourcekey = 'Your_source_key_here';
 $pin = '​1234';​ $pin = '​1234';​
 $command = '​cc:​sale';​ $command = '​cc:​sale';​
Line 158: Line 158:
  
 #Your Source Key that is provided by usaepay #Your Source Key that is provided by usaepay
-$sourceKey = 'PUT_YOUR_SOUCE_KEY_HERE';+$sourceKey = 'Your_source_key_here';
  
  
developer/perl.txt ยท Last modified: 2011/05/10 09:22 by irina

Page Tools