examples/checkout-buttons/basic_preference/button.rb in mercadopago-sdk-0.3.4 vs examples/checkout-buttons/basic_preference/button.rb in mercadopago-sdk-0.3.5
- old
+ new
@@ -15,10 +15,10 @@
<head>
<title>MercadoPago SDK - Create Preference and Show Checkout Example</title>
</head>
<body>
<a href="' + preference['response']['init_point'] + '" name="MP-Checkout" class="orange-ar-m-sq-arall">Pay</a>
- <script type="text/javascript" src="http://mp-tools.mlstatic.com/buttons/render.js"></script>
+ <script type="text/javascript" src="//resources.mlstatic.com/mptools/render.js"></script>
</body>
</html>'
return [200, {'Content-Type' => 'text/html'}, [html]]
end