Open angieherrera opened 1 year ago
Same. Is this gateway no longer supported?
I ran into this as well, and evidently there are several newer beta versions of this plugin that somehow Craft doesn't know about (I'll poke P&T and have them check into why that is happening). In the meantime, make sure the line in your composer.json is updated to "webdna/commerce-braintree": "^3.0.0-beta.1"
(note the presence of the ^
which means Composer isn't version locked to beta.1
), and then run a composer update
. The latest beta at the time of this comment is beta.11
, and updating to that fixed my errors.
@angieherrera also fwiw, if you update the SDK versions in the gateway settings to the latest available, particularly the "Drop-in UI SDK Version", you'll want to make sure your "Pay Now" button has the type="submit"
attribute, or it won't load the payment form on the frontend.
In order to get the CVV field showing up in the payment form on the frontend, you'll want to make sure you set up some CVV rules in your Braintree dashboard per https://developer.paypal.com/braintree/docs/guides/drop-in/setup-and-integration/javascript/v3/#credit-cards (see also: https://developer.paypal.com/braintree/articles/guides/fraud-tools/basic/avs-cvv-rules).
Awesome. Yeah, we chased it down and we're operational. But this is very helpful. Thank you.
Hi!
I have successfully installed this plugin on a Craft 4.5.5 / Commerce 4.3.0 set up. However, whenever I try to make a payment, I get the following error:
Full screenshot:
The code to render the form looks like this:
That renders like so (note missing CVV field):
I'm not sure what, if anything, needs to be adjusted in my code, or if this is an issue with the plugin.
Thank you!