Closed ivanpradana closed 7 years ago
Hello, I have a problem. I request a transactionToken using this method:
requestTransactionToken(with transactionDetails: MidtransTransactionDetails, itemDetails: [MidtransItemDetail]?, customerDetails: MidtransCustomerDetails?, customField: [Any]?, binFilter: [Any]?, transactionExpireTime expireTime: MidtransTransactionExpire?, completion: ((MidtransTransactionTokenResponse?, Error?) -> Swift.Void)? = nil)
And then, after I got the response, I present MidtransUIPaymentViewController, here's my code:
let paymentViewController = MidtransUIPaymentViewController(token: midtransToken) paymentViewController?.paymentDelegate = self self?.present(paymentViewController!, animated: true, completion: nil)
And then, I completed the payment steps (or turned it to pending status), but, when I checked the transaction detail in my MAP dashboard, the transaction item information is missing. Please help.
Here's the MidtransItemDetail code:
let items = [MidtransItemDetail(itemID: String.random(withLength: 20), name: "Midtrans Pillow", price: 12200, quantity: 1)!]
I'm using version 1.7.2.5.
Sorry, it appears there's a mistake from our backend (There's a typo when trying to request SNAP token).
Hello, I have a problem. I request a transactionToken using this method:
And then, after I got the response, I present MidtransUIPaymentViewController, here's my code:
And then, I completed the payment steps (or turned it to pending status), but, when I checked the transaction detail in my MAP dashboard, the transaction item information is missing. Please help.
Here's the MidtransItemDetail code:
I'm using version 1.7.2.5.