Add braintree dropin js

pull/77/head
JamesRamm 2017-06-08 21:07:01 +01:00
rodzic c10170eb3f
commit a1a05c6c1d
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7,6 +7,5 @@ class CheckoutForm(forms.Form):
email = forms.EmailField()
shipping_option = forms.ChoiceField(required=False)
different_billing_address = forms.BooleanField(required=False)
class Media:
js = ('checkout.js',)

Wyświetl plik

@ -37,6 +37,7 @@ class BraintreePayment(BasePayment):
def client_js(self):
return (
"https://js.braintreegateway.com/web/dropin/1.2.0/js/dropin.min.js",
"https://js.braintreegateway.com/web/3.15.0/js/client.min.js",
"https://js.braintreegateway.com/web/3.15.0/js/hosted-fields.min.js"
)