kopia lustrzana https://github.com/longclawshop/longclaw
Add braintree dropin js
rodzic
c10170eb3f
commit
a1a05c6c1d
|
|
@ -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',)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue