Skip to content

2.3.0

Compare
Choose a tag to compare
@mohammedDehairy mohammedDehairy released this 21 Oct 07:55
· 38 commits to master since this release

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.
    }
}];