Commit 09e6dcaa by Brent Gulanowski

This allows an app to continue an existing web checkout that the user interrupted.

parent 74858565
......@@ -108,7 +108,7 @@ static NSString *const WebCheckoutCustomerAccessToken = @"customer_access_token"
- (void)startCheckout:(BUYCheckout *)checkout
{
if (self.isInProgress) {
if (self.isInProgress && ![checkout.token isEqual:self.checkout.token]) {
[[NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"Asked to start checkout; but checkout has already started in %@", self] userInfo:nil] raise];
}
......
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