RedirectResponse

The RedirectResponse elements contains information about parameters sent to a redirect URL (ex. for 3D Secure payments - see initiatePayment, redirect the customer to authenticate on charge subscription when SCA take place)

Parameter Description
Url The URL to redirect your customer to.
Method

The HTTP method: 

  • GET
  • POST.
FlowType

The type of 3D Secure flow:

  • 3DSecureRegular
  • 3DSecureNets
Data

Contains an array of specific parameters to be sent on POST to the redirect URL, for example:

<Data>
    <Item key="MD">25</Item>
    <Item key="PaReq">WorkingPaReq</Item>
    <Item key="TermUrl">https://testgateway.altapaysecure.com/eCommerce/API/validate3DSecure1PaymentAuthentication</Item>
</Data>
                                                                

Examples

3DSecureRegular

<RedirectResponse>
	<Url>https://testbank.pensio.com/ThreeDSecure</Url>
	<Method>POST</Method>
	<Data>
		<Item key="PaReq">WorkingPaReq</Item>
		<Item key="MD">426f621f-b79a-40a7-8dee-31ab2e4808a8</Item>
	</Data>
	<FlowType>3DSecureRegular</FlowType>
</RedirectResponse>

3DSecureNets

<RedirectResponse>
	<Url>https://dankort-acs.staging.modirum.com/nets-dankort/req</Url>
	<Method>POST</Method>
	<Data>
		<Item key="PAN">o0nt0el4d4kpm59va93iosg224</Item>
		<Item key="MerchantUrl">https://www.altapay.com</Item>
		<Item key="CurrencyTrn">DKK</Item>
		<Item key="ExtID">NSAgICAgICAgICAgICAgICAgICA=</Item>
		<Item key="Last4">0001</Item>
		<Item key="MerchantAccount">1978551</Item>
		<Item key="AmountTrn">000000023500</Item>
		<Item key="PurchaseDate">170308 15:45:13</Item>
		<Item key="MerchantTitle">Altapay</Item>
		<Item key="PurchaseExponent">2</Item>
		<Item key="MerchantGmtoffset">+1</Item>
		<Item key="OrderNo">testorder_1234</Item>
		<Item key="MerchantCountry">208</Item>
		<Item key="PurchaseAmount">235.00 DKK</Item>
		<Item key="BIN">501900</Item>
		<Item key="PurchaseDescription">Order No.5</Item>
	</Data>
	<FlowType>3DSecureNets</FlowType>
</RedirectResponse>

Collect 3D Secure browser data GET redirect

<RedirectResponse>
	<Url>https://testgateway.altapaysecure.com/eCommerce/API/3ds/056b46c7-6823-4b7e-9814-39b5b2d2fde9/input?callback=https%3A%2F%testgateway.altapaysecure.com%2FeCommerce%2FAPI%2FValidatePaymentAuthenticationCollect3DSDataCallback%2F8dae1605-72c9-4d3f-bc40-3937b1c92816</Url>
	<Method>GET</Method>
	<Data/>
</RedirectResponse>