Open valetzyzy opened 7 years ago
+1
I think this is already in place... but it does not seem to work.
Dim oTokenRequest = New WorldPay.Sdk.Models.TokenRequest() With {
.clientKey = _ServiceKey,
.paymentMethod = paymentMethod,
.reusable = True
}
Dim authSvc As AuthService = wpClient.GetAuthService()
tokenResponse = authSvc.GetToken(oTokenRequest)
I needed to add the tokenURL to the appsettings
<appSettings>
<add key="TokenUrl" value="https://api.worldpay.com/v1/tokens" />
But I am getting
Please implement createToken function according to this link documentation