attachPaymentMethod method
Attach a payment method and refresh the store if there are any active listeners.
Implementation
Future<Map<String, dynamic>> attachPaymentMethod(String paymentMethodId) async {
final paymentMethodFuture = await _customerSession.attachPaymentMethod(paymentMethodId);
await refresh();
return paymentMethodFuture;
}