cinetpay/cinetpay-ios-sdk-example

Payment failed message

khurramtnc opened this issue · 1 comments

Hi I am trying this sample from Pakistan. I want to implement this sdk for my iOS app. I am getting payment fails message every time.
Can you please guide me?
my variables are as under.
controller.amount = amountView.text
controller.apiKey = ""
controller.siteId = my site id
controller.notifyURL = ""
controller.shouldCheckPayment = false
let uuid = UUID().uuidString
controller.transId = uuid
controller.currency = "CFA"
controller.designation = "Test de paiement"
controller.custom = ""

I am testing this through my iOS simulator
thanks

Hi, using the onError method, you should get the failure reason