fix params

This commit is contained in:
CHIEFSOFT\ameye
2023-11-28 22:24:05 -05:00
parent 014c441ee2
commit a971596e40
+24 -2
View File
@@ -114,9 +114,31 @@ export class AddcreditPage implements OnInit {
);
}
/*
paymentData : AsyncPaymentOptions = {
public_key: this.publicKey,
tx_ref: this.generateReference(),
amount: 10,
currency: 'NGN',
payment_options: 'card,ussd',
meta: this.meta,
customer: this.customerDetails,
customizations: this.customizations,
}
member_id:this.sessionDataProviderService.member_id,
sessionid:this.sessionDataProviderService.session,
uid:this.sessionDataProviderService.member_uid,
currency: this.currency_code,
amount:this.startCreditResult.amount,
credit_reference:this.startCreditResult.credit_reference,
card_uid: this.startCreditResult.card_uid,
action:11056
*/
payViaPromise() {
this.paymentData.public_key = this.flutterwave_key;
this.paymentData.public_key = this.flutterwave_key;
this.paymentData.tx_ref = this.startCreditResult.credit_reference;
this.paymentData.amount = this.startCreditResult.amount;
this.flutterwave.asyncInlinePay(this.paymentData).then(
(response) =>{