Summary Screen

After a transaction has been done, merchants might want to refund it, capture it or send another receipt to their shoppers. The Summary Screen makes this very easy for you!

Just make sure that you store the transactionIdentifer for each transaction in your system. You can access the transactionIdentifer in the completed callback of the payment method.

Show the Summary Screen

Call createSummaryViewControllerWithTransactionIdentifier with your previously stored transactionIdentifier:

ui.configuration.summaryFeatures =
// Add this line, if you want to offer printed receipts
// MPUMposUiConfigurationSummaryFeaturePrintReceipt |
// Add this line, if you want to offer captures
// MPUMposUiConfigurationSummaryFeatureCaptureTransaction |
// Remove this line, if you do not want to offer refunds at all
MPUMposUiConfigurationSummaryFeatureRefundTransaction |

UIViewController *viewController =
[ui createSummaryViewControllerWithTransactionIdentifier:@"transactionIdentifier"
                                               completed:^(UIViewController *controller)
    [self dismissViewControllerAnimated:YES completion:NULL];

UINavigationController *modalNav = [[UINavigationController alloc] initWithRootViewController:viewController];
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
    modalNav.modalPresentationStyle = UIModalPresentationFullScreen;
} else { // on iPad
    modalNav.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:modalNav animated:YES completion:NULL];

In the Summary Screen, your merchants can then refund or capture the transaction and email or print another receipt. If the transaction has already been refunded or captured, the Summary Screen will show this accordingly.