Payment And Order
Payments overview
Overview
Toolstation's web and mobile app uses Braintree as the payment service, supporting payment options like Google Pay, Apple Pay, PayPal, and various region-specific local payments.
Braintree doesn’t offer Flutter package, we developed a custom Dart package specifically for Toolstation’s mobile app. This package includes:
- Dart code that communicates directly with native android and iOS code using method channel and event channel.
- Native code This native code communicates with Braintree Android and iOS sdk's.
Additional info
- MethodChannel is used to fetch tokens, initiate different payment methods such as Google pay, Apple pay, Paypal or Loacl payments(such as BanContact, iDeal).
- EventChannel to listen events (such as success, failure, or cancellation), from braintree sdk and send back to dart code.