-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Description
Hi Team,
This is to inform you that we have configured our SDK and passed the meta data while configuring the SDK . However we've failed to receive the same in the webhook . Kindly address this issue so that we can make our app live at the earliest .
Code as follows :
func setConfiguration(data : FlutterWaveConfiguration , navigation : UINavigationController){
let metaList: [[String: String]] = [
["metaname": "uid", "metavalue": Utility.getUserid() ?? ""],
["metaname": "trigger", "metavalue": "COIN_PURCHASE"],
["metaname": "coinPurchasePlanId", "metavalue": data.coinplanId ?? ""],
["metaname":"sdk", "metavalue":"ios"]
]
config.paymentOptionsToExclude = []
config.currencyCode = data.currencyCode ?? "NGN" // This is the specified currency to charge in.
config.email = data.email ?? "[email protected]" // This is the email address of the customer
config.isStaging = false // Toggle this for staging and live environment
config.phoneNumber = data.phoneNumber ?? "" //Phone number
config.transcationRef = generateTranscationRef() // This is a unique reference, unique to the particular transaction being carried out. It is generated when it is not provided by the merchant for every transaction.
config.firstName = data.firstName ?? "" // This is the customers first name.
config.lastName = data.lastName ?? "" //This is the customers last name.
config.meta = metaList //This is used to include additional payment information
config.narration = "simplifying payments for endless possibilities"
config.publicKey = self.publickey //Public key
config.encryptionKey = self.encryptionKey //Encryption key
config.isPreAuth = false // This should be set to true for preauthorize card transactions
//Pushing to VC
Helper.hidePI()
let controller = FlutterwavePayViewController()
let nav = UINavigationController(rootViewController: controller)
controller.amount = data.amount // This is the amount to be charged.
controller.delegate = self
controller.modalPresentationStyle = .fullScreen
navigation.present(nav, animated: true) {
controller.delegate = self
}
}
Steps to Reproduce
- From the configuration file configure the meta data
- Pass it in the meta key
Expected behaviour
I must get the meta in webhook.
Actual behaviour
Meta is getting null.
Reproduces how often
It produces every time.
Configuration
- API Version: v3
- Environment: Live Mode
- Browser: iOS SDK is being used
- Language: Swift
Additional Information
Screenshots Attached
Metadata
Metadata
Assignees
Labels
No labels