Last active
August 29, 2015 14:10
-
-
Save bespalown/fea92cf78bff84dbc55f to your computer and use it in GitHub Desktop.
pay.cards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PCDMerchant *merchant = [PCDMerchant new]; | |
merchant.ID = @100018; //Merchant's ID. Should be obtained after a registration (see Prerequisites). Mandatory field. | |
merchant.password = @"ChuWeIle"; //Merchant's password. Should be obtained after a registration (see Prerequisites). Mandatory field. | |
merchant.clientId = @"Merchant_W1"; //Client's ID in Merchant's system. Mandatory field. | |
merchant.email = @"[email protected]"; // Client's email. Can be empty. | |
merchant.phone = @"+79854619029"; //Client phone. Can be empty. | |
PCDCardScanViewController *scanDardVC = [PCDCardScanViewController new]; | |
scanDardVC.merchant = merchant; //merchant property is necessary, otherwise error will occur | |
scanDardVC.delegate = self; | |
[self.navigationController pushViewController:rootVC animated:NO]; | |
[self.navigationController pushViewController:scanDardVC animated:NO]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment