Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Bump Braintree hosted scripts version to 3.52.0
Browse files Browse the repository at this point in the history
The 3.52.0 version is the minimum version required to be able to
introduce the 3D Secure 2 support.
  • Loading branch information
cedum committed Oct 11, 2019
1 parent c21f870 commit e0add97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/spree/shared/_paypal_braintree_head_scripts.html.erb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<% content_for :head do %>
<script src="https://js.braintreegateway.com/web/3.34.0/js/client.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.34.0/js/data-collector.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.52.0/js/client.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.52.0/js/data-collector.min.js"></script>

<% if current_store.braintree_configuration.paypal? %>
<script src="https://js.braintreegateway.com/web/3.34.0/js/paypal-checkout.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.52.0/js/paypal-checkout.min.js"></script>
<script src="https://www.paypalobjects.com/api/checkout.js" data-version-4></script>
<% end %>

<% if current_store.braintree_configuration.credit_card? %>
<script src="https://js.braintreegateway.com/web/3.34.0/js/hosted-fields.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.52.0/js/hosted-fields.min.js"></script>
<% end %>

<% if current_store.braintree_configuration.apple_pay? %>
<script src="https://js.braintreegateway.com/web/3.34.0/js/apple-pay.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.52.0/js/apple-pay.min.js"></script>
<% end %>

<%= javascript_include_tag "solidus_paypal_braintree/checkout" %>
Expand Down

0 comments on commit e0add97

Please sign in to comment.