New
- Now the SDK is PCI compliant π .
- Directory servers' root certificates can now be injected into the SDK from the Adyen
/authorise
response, this way:
ADYServiceParameters *parameters = [ADYServiceParameters new];
[parameters setDirectoryServerIdentifier:...]; // Retrieved from Adyen.
[parameters setDirectoryServerPublicKey:...]; // Retrieved from Adyen.
[parameters setDirectoryServerRootCertificates:...]; // Retrieved from Adyen.
[ADYService serviceWithParameters:parameters appearanceConfiguration:nil completionHandler:^(ADYService *service) {
NSError *error = nil;
ADYTransaction *transaction = [service transactionWithMessageVersion:@"2.1.0" error:&error];
if (transaction) {
ADYAuthenticationRequestParameters *authenticationRequestParameters = [transaction authenticationRequestParameters];
// Submit the authenticationRequestParameters to /authorise3ds2.
} else {
// An error occurred.
}
}];