tabby
sidebar_position: 5 sidebar_label: Tabbyβ
Tabbyβ
| Feature | Description |
|---|---|
| Payment Logo | |
| Integration Methods |
|
| Recommended Regions | Saudi Arabia, United Arab Emirates |
| Virtual Industry Support | β |
| Subscription Support | βοΈ |
| Supported SaaS |
|
| Supported Open-Source Platforms |
|
On-site Messagingβ
Tabby On-site Messaging is a solution that allows merchants to display personalized Afterpay payment messages on their website or mobile app before customers proceed to checkout. It helps inform customers in advance about available flexible payment options, thereby improving conversion rates and enhancing the overall user experience.
Integration Using the Sample Code Belowβ
<div id="TabbyPromo"></div>
<script src="https://checkout.tabby.ai/tabby-promo.js"></script>
<script>
new TabbyPromo({
selector: '#TabbyPromo', // required
currency: 'AED', // required, 'AED' or 'SAR', uppercase, no spaces
price: '2000.00', // required, 2 decimal places for AED and SAR
lang: 'en', // optional, 'en' or 'ar'
source: 'product', // optional, 'product' or 'cart'
shouldInheritBg: false, // optional, true or false
publicKey: 'your_pk', // required, your public key
merchantCode: 'your_merchant_code' // required, your merchant code, based on your store currency
});
</script>
Shopifyβ
Using Shopify as an example, Afterpay On-site Messaging can be integrated by adding the script and placement code to your theme files.
- In Online Store β Themes β Edit code β theme.liquid, add the following script:
<div id="TabbyPromo"></div>
<script src="https://checkout.tabby.ai/tabby-promo.js"></script>
- Add placement on product page
<script>
new TabbyPromo({
selector: '#TabbyPromo',
currency: {{ shop.currency }},
price: {{ product.price | money_without_currency }}
lang: 'en',
source: 'product',
shouldInheritBg: false,
publicKey: 'your_pk',
merchantCode: 'your_merchant_code'
});
</script>