Web Cart Tutorials
Default Integration Connect your cart to Facebook Customize your cart's style and functionality |
![]() If you integrate Facebook's login on your website, your store's cart will be connected to the largest social network on the planet. If a customer leaves your store without purchasing the items in their cart, those items will remain in their cart for the consumer to complete their purchase across any Payvment powered shopping cart on Facebook such as Payvment's Facebook storefront solution. |
Connecting Facebook's login with the shopping cart is not complicated. Just follow the steps below. If your website already uses Facebook Login, skip to Step Two of this tutorial.
Note: This tutorial requires your web server to be running PHP. If you are not sure if your web host is running PHP, contact your hosting company or system administrator.
<script src="https://api.payvment.com/cart/?apiKey=1234567&fbconnect=<?php echo $_REQUEST['10b92fd8a94ddb5778cd5f86e88b3_user']; ?>" type="text/javascript"></script>
FB.init("YOUR_FACEBOOK_KEY","http://YOURWEBSITE.com/xd_receiver.htm");
Replace it with this:
FB.init("YOUR_FACEBOOK_KEY","http://YOURWEBSITE.com/xd_receiver.htm",{"reloadIfSessionStateChanged":true});
Your store's shopping cart is now connected to every Payvment powered shopping cart on Facebook increasing your ability to complete more sales.