javascript - Braintree - No payment method is available

one text

Solution:

So with my co-worker who was responsible for the FE part ( i was doing BE part ), we encountered the same issue. We struggled a little bit with account configuration but in the end, my friend identified that problem was on the FE part, particularly in requestPaymentMethod. His explanation:

requestPaymentMethod should be called after the user has selected a payment option, or when he filled in correct credit card details if it’s the only payment option. From what I see in your post I see that maybe it is the same mistake.

Source