Fixed the issues of deprecated api's in stripe payment sdk.