File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,9 @@ function KkdPffPaystackFee() {
216216 obj . withThreshold ( settings . fee . ths ) ;
217217 obj . withCap ( settings . fee . cap ) ;
218218 obj . withPercentage ( settings . fee . prc ) ;
219-
219+ if ( quant ) {
220+ transaction_amount = transaction_amount * quant ;
221+ }
220222 var total = obj . addFor ( transaction_amount * 100 ) / 100 ;
221223 var fees = total - transaction_amount ;
222224 }
@@ -225,19 +227,11 @@ function KkdPffPaystackFee() {
225227 . html ( currency + " " + fees . toFixed ( 2 ) )
226228 . show ( )
227229 . digits ( ) ;
228- if ( quant ) {
229- $ ( ".pf-txntotal" )
230- . hide ( )
231- . html ( currency + " " + total . toFixed ( 2 ) + " X " + quant )
232- . show ( )
233- . digits ( ) ;
234- } else {
235230 $ ( ".pf-txntotal" )
236231 . hide ( )
237232 . html ( currency + " " + total . toFixed ( 2 ) )
238233 . show ( )
239234 . digits ( ) ;
240- }
241235 } , 100 ) ;
242236 }
243237
You can’t perform that action at this time.
0 commit comments