BKMExpressFlowSDK 1.0.16

BKMExpressFlowSDK 1.0.16

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2025

Maintained by Bankalararası Kart Merkezi.



  • By
  • Bankalararası Kart Merkezi

BKM EXPRESS FLOW SDK

NE İŞE YARAR?

Hizmetinize sunulan BKM Express Flow iOS SDK paketi ile son kullanıcının iOS cihazında BKMExpress uygulaması kurulu olmasa dahi, "Ödeme Yapma" özelliğini, uygulamanızdan çıkış yapma gereksinimi olmadan halletmenize olanak sunar.

Gereksinimler

  • iOS 9.0 ve üzeri
  • CocoaPods

NASIL ÇALIŞIR?

Işyerleri BKM Express entegrasyonlarını tamamlayarak gerekli İşyeri servis uygulamaları ile BKM sunucularında oturum açtıktan sonra, yarattıkları ödeme işlerinden kendilerine iletilen TICKET_TOKEN , TICKET_ID ve TICKET_PATH parametreleri ile çalışmak istedikleri ortamı seçerek BKMExpress Flow SDK akışı başlatabilirler. BKM sunucularında oturum açma ile detayli bilgiye buradan ulaşabilirsiniz.

CocoaPods Entegrasyonu

pod 'BKMExpressFlowSDK', '1.0.14'

###Örnek Kullanım

// instantiate view controller with custom constructor
BKMExpressPaymentViewController *expressPaymsentViewController= [[BKMExpressPaymentViewController alloc] initWithBexTicketToken:PAYMENT_TICKET_TOKEN bexTicketPath:PAYMENT_TICKET_PATH bexTicketId:PAYMENT_TICKET_ID delegate:self];

// if debug mode is enabled, this sdk connect to preprod otherwise connect to prod.
[expressPaymentViewController setEnableDebugMode:YES];

// Present view controller
expressPaymentViewController.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:expressPaymentViewController animated:YES completion:nil];
}

DebugMode enable edilerek test sunucularına, disable edilerek production sunucularına istek gönderilebilir.

###BKMOTPDelegate

- (void)bkmExpressPaymentDidComplete{
   NSLog(@"Successful payment");
}

- (void)bkmExpressPaymentDidCancel{
   NSLog(@"Payment is canceled by user");
}

- (void)bkmExpressPaymentDidFail:(NSError *)error{
   NSLog(@"An error has occurred on payment = %@", error.localizedDescription);
}