Commit 38502f59 by Rune Madsen

Added logic for logging on getCheckout:completion:

parent f5a93e4c
...@@ -297,8 +297,13 @@ NSString * const MerchantId = @""; ...@@ -297,8 +297,13 @@ NSString * const MerchantId = @"";
// Get the completed checkout // Get the completed checkout
[self.client getCheckout:self.applePayHelper.checkout completion:^(BUYCheckout *checkout, NSError *error) { [self.client getCheckout:self.applePayHelper.checkout completion:^(BUYCheckout *checkout, NSError *error) {
NSLog(@"%@", checkout); if (error) {
NSLog(@"%@", error); NSLog(@"Unable to get completed checkout");
NSLog(@"%@", error);
}
if (checkout) {
NSLog(@"%@", checkout);
}
}]; }];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment