pagarme_card_hash 0.0.2 copy "pagarme_card_hash: ^0.0.2" to clipboard
pagarme_card_hash: ^0.0.2 copied to clipboard

A Flutter package that allows you to generate card hashes to be used with Pagar.me's payment platform.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add pagarme_card_hash

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  pagarme_card_hash: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pagarme_card_hash/api/pagarme_api.dart';
import 'package:pagarme_card_hash/constants/pagarme_constants.dart';
import 'package:pagarme_card_hash/encryption/pagarme_encrypt.dart';
import 'package:pagarme_card_hash/exceptions/generate_hash_exception.dart';
import 'package:pagarme_card_hash/exceptions/response_exception.dart';
import 'package:pagarme_card_hash/models/pagarme_card.dart';
import 'package:pagarme_card_hash/models/pagarme_public_key.dart';
import 'package:pagarme_card_hash/pagarme_flutter_card_hash.dart';
import 'package:pagarme_card_hash/utils/http_tunnel.dart';
import 'package:pagarme_card_hash/utils/json_utils.dart';
0
likes
120
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package that allows you to generate card hashes to be used with Pagar.me's payment platform.

License

BSD-3-Clause (license)

Dependencies

dio, encrypt, flutter, pointycastle

More

Packages that depend on pagarme_card_hash