# Migration v18

Contains 1 breaking change of the SDK interface.

## Changes

- [change to fetchGatewayConfig ](#change-to-fetchGatewayConfig)

### change to fetchGatewayConfig

In order to correctly display the price when dealing with 3DS transactions, we need to send the amount to charge to the zuora iframe.  

Zuora documentation: https://knowledgecenter.zuora.com/Billing/Billing_and_Payments/LA_Hosted_Payment_Pages/B_Payment_Pages_2.0/J_Client_Parameters_for_Payment_Pages_2.0  

A new `authorizationAmount` param was added to fetchGatewayConfig and is returned as `autorizationAmount`.

```diff
-   public async fetchGatewayConfig(paymentType: string, countryCode: string, clientIPAddress: string, appIdOverride?: string): Promise<PaymentGatewayResponse> {
+	public async fetchGatewayConfig(paymentType: string, countryCode: string, clientIPAddress: string, authorizationAmount: number, appIdOverride?: string): Promise<PaymentGatewayResponse> {
```

Call to fetchGatewayConfig to be changed as follow:
```diff
-	result.fetchGatewayConfig = await subscriptionService.fetchGatewayConfig('cc', 'GBR', '111.222.33.44');
+	result.fetchGatewayConfig = await subscriptionService.fetchGatewayConfig('cc', 'GBR', '111.222.33.44', 1);
```
