Order Level Directive Documentation
Edit on
Codepen.io
Codepen.io
data-fsc-order-paypal-available
x
30
1
<!-- DEMO INFO
2
PayPal is not available in all countries. For example, PayPal is not
3
available in Turkey. If you are in a country that allows PayPal purchases,
4
the "Check Out with PayPal" button will be displayed. If it is not
5
available, it will not be shown. To simulate this click the change country
6
buttons to switch the country of the order.
7
-->
8
9
<button data-fsc-action="PaypalCheckout" data-fsc-order-paypal-available data-fsc-smartdisplay>Check Out with PayPal</button>
10
<br />
11
<button onclick="fastspring.builder.country('TR');">Change country to Turkey</button>
12
<br />
13
<button onclick="fastspring.builder.country('US');">Change country to United States</button>
14
<br />
15
<!--
16
DEMO SETUP
17
- Initialize the Store Builder Library
18
- Add product to cart
19
-->
20
<script
21
id="fsc-api"
22
src="https://sbl.onfastspring.com/sbl/1.0.2/fastspring-builder.min.js"
23
type="text/javascript"
24
data-storefront="fastspringexamples.test.onfastspring.com/popup-fastspringexamples">
25
</script>
26
27
<script type="text/javascript">
28
fastspring.builder.add("phot-io-main-app");
29
</script>
30
1
1
1
1