Skip to content

Commit d1b7055

Browse files
committed
fix: pass brand string instead of enum
1 parent 9aa4678 commit d1b7055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/hyperpay.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class HyperpayPlugin {
197197
'start_payment_transaction',
198198
{
199199
'checkoutID': checkoutId,
200-
'brand': brand,
200+
'brand': brand.name.toUpperCase(),
201201
'card': card.toMap(),
202202
},
203203
);

0 commit comments

Comments
 (0)