Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
￴￴ committed Oct 11, 2024
1 parent 88aa294 commit 2ee1502
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions package/general_payment/bin/general_payment.dart
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
import 'package:general_lib/general_lib.dart';
import 'package:general_payment/general_payment.dart';

void main(List<String> arguments) async {

// production_token: "xnd_production_hstOUOUQoO2IKT7STFXPw9tjaTIPdePNigXoTZ8E0BjubO7xOqHvQSM95YCjm7A",
// development_token: "xnd_production_hstOUOUQoO2IKT7STFXPw9tjaTIPdePNigXoTZ8E0BjubO7xOqHvQSM95YCjm7A",
print("Heelo");

final GeneralPayment generalPayment = GeneralPayment();
generalPayment.ensureInitialized();
final result = await generalPayment.createInvoice(
external_id: "asas",
amount: 100,
generalPaymentAuth: GeneralPaymentAuth.auto(paymentGatewayApiKey: "xnd_production_hstOUOUQoO2IKT7STFXPw9tjaTIPdePNigXoTZ8E0BjubO7xOqHvQSM95YCjm7A", paymentGatewayOwnerId: ""),
);
result.rawData.printPretty();
}

0 comments on commit 2ee1502

Please sign in to comment.