| 1 | package Business::OnlinePayment::Iridium::Action::ThreeDSecureAuthentication; | ||
| 2 | |||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | with 'Business::OnlinePayment::Iridium::Action'; | |
| 6 | |||
| 7 | # PODNAME: Business::OnlinePayment::Iridium::Action::ThreeDSecureAuthentication | ||
| 8 | # ABSTRACT: Handle 3DSecure | ||
| 9 | |||
| 10 | 1 | has 'CrossReference' => ( | |
| 11 | isa => 'Int', | ||
| 12 | is => 'rw', required => '1' | ||
| 13 | ); | ||
| 14 | |||
| 15 | 1 | has 'PaRES' => ( | |
| 16 | isa => 'Str', | ||
| 17 | is => 'rw', required => '1' | ||
| 18 | ); | ||
| 19 | |||
| 20 | 0 | ▶ | sub _build__type { return 'ThreeDSecureAuthentication' } |
|
Subroutine
_build__type: not called CC=1 SCAR=6.9
| |||
| 21 | |||
| 22 | |||
| 23 | 0 | ▶ | sub template { |
|
Subroutine
template: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 0 | return <<DATA; | |
| 25 | <?xml version="1.0" encoding="utf-8"?> | ||
| 26 | <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 27 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
| 28 | xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | ||
| 29 | <soap:Body> | ||
| 30 | <ThreeDSecureAuthentication xmlns="https://www.thepaymentgateway.net/"> | ||
| 31 | <ThreeDSecureMessage> | ||
| 32 | <MerchantAuthentication MerchantID="[% MerchantID %]" Password="[% Password %]" /> | ||
| 33 | <ThreeDSecureInputData CrossReference="[% CrossReference %]"> | ||
| 34 | <PaRES> | ||
| 35 | [% PaRES %] | ||
| 36 | </PaRES> | ||
| 37 | </ThreeDSecureInputData> | ||
| 38 | <PassOutData>[% PassOutData %]</PassOutData> | ||
| 39 | </ThreeDSecureMessage> | ||
| 40 | </ThreeDSecureAuthentication> | ||
| 41 | </soap:Body> | ||
| 42 | </soap:Envelope> | ||
| 43 | DATA | ||
| 44 | } | ||
| 45 | |||
| 46 | 1 | 1; | |
| 47 | |||
| 48 | __END__ | ||