La integración con MoonClerk sólo funciona si utilizas MoonClerk con Stripe y sólo si utilizas un enlace a su método de pago o una pago integrado.
Integración de Linked Checkout
En caso de que utilices los enlaces a la caja de MoonClerk, llamados Linked Checkout, sigue este paso y el último sobre la configuración del plugin y el webhook.
Básicamente lo que tienes que hacer con este tipo de configuración es añadir el siguiente código debajo de todos tus enlaces de MoonClerk, así que lo mejor es añadirlo en algún lugar de la plantilla de pie de página de tu sitio web para que esté en todas las páginas de tu sitio web e integre todos los enlaces de MoonClerk en todas las páginas de tu sitio web.
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var MoonClerkLinks = document.querySelectorAll('a[href*="moonclerk.com/pay/"]');
for (i=0; i < MoonClerkLinks.length; i++) {
MoonClerkLinks[i].id = 'appendTrackingCookie';
}
PostAffTracker.setAccountId('Account_ID');
try {
PostAffTracker.track();
} catch (err) { }
PostAffTracker.writeCookieToLink('appendTrackingCookie', 'cid');
</script>
Pago integrado
En caso de que utilices la Caja Integrada de MoonClerk, la integración es un poco complicada porque hay que modificar mucho su código. A continuación se muestra cómo sería el código integrado. En el código tienes que asegurarte de añadir tus propias URLs de checkoutToken y moonclerk:
<script type="text/javascript" src="https://d2l7e0y6ygya2s.cloudfront.net/assets/embed.js"></script>
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<div id="mc5hj004gabje1">
<a id="appendTrackingCookie" href="https://app.moonclerk.com/pay/5hj004gabje1">Easy Time</a>
</div>
<script type="text/javascript">
var papCookieId = '',
mc5hj004gabje1;
if (typeof PostAffTracker !== 'undefined') {
PostAffTracker.setAccountId('Account_ID');
try {
PostAffTracker.track();
} catch (err) { }
PostAffTracker.writeCookieToLink('appendTrackingCookie', 'cid');
PostAffTracker.executeOnResponceFinished.push(function() {
papCookieId = PostAffTracker._getAccountId() + PostAffTracker._cmanager.getVisitorIdOrSaleCookieValue();
renderMoonClerkCheckout();
});
} else {
renderMoonClerkCheckout();
}
function renderMoonClerkCheckout() {
var opts = {
"checkoutToken": "5hj004gabje1",
"width": "100%",
"cid": papCookieId
};
mc5hj004gabje1 = new MoonclerkEmbed(opts);
mc5hj004gabje1.display();
}
</script>
Configuración del plugin y de Stripe
Accede a tu cuenta de Stripe y ve a la sección de configuración de los Webhooks en el panel de control de Stripe. Al hacer clic en Añadir punto final aparece un formulario para añadir una nueva URL para recibir webhooks. Introduce allí esta URL para recibir notificaciones en directo:
https://URL_TO_PostAffiliatePro/plugins/Moonclerk/moonclerk.php?accountid=Account_ID
Una vez configurado el webhook, coge la clave secreta de la API de Stripe y cópiala. Ahora ve a tu panel de vendedor de Post Affiliate Pro y a Configuración > Plugins donde quieres activar el manejo de webhooks de Moonclerk (Stripe). Una vez activado el plugin, haz clic en Configurar junto a él e introduce tu clave secreta de API de Stripe. Guarda la configuración del plugin y la integración estará hecha.
The text discusses the integration of Post Affiliate Pro with Wholesale2b and the steps involved in placing tracking codes for clicks and sales. It also emphasizes the importance of integrating with click tracking code. The article also mentions other integrations available on the platform, including aMember, Iono, Fortune3, and Gambio. Detailed instructions are provided for each integration, including setting up recurring sales with PayPal and registration forms. The text concludes with a mention of Post Affiliate Pro's free trial option.
Post Affiliate Pro offers integration with aMember, instructions for recurring sales integration with PayPal, and various registration forms. It also boasts high ratings, trustworthy service, and a range of support features. The company offers competitive pricing, integrations, and support options, as well as a variety of resources on its website, such as a blog, templates, and a comprehensive affiliate marketing directory. Customers can subscribe to a newsletter and follow the company on social media, while the installation process is underway to create a Post Affiliate Pro account.
The text discusses Post Affiliate Pro, a free marketing platform for affiliates that can be integrated with various ecommerce solutions such as Gambio and Oxid Eshop. The steps for integration and tracking sales are detailed, along with the importance of integrating the platform with click tracking code. The company also offers support, knowledge base, member area, change logs, and performance checks, and has won awards, has a customer rating, and a reseller list. The blog, templates, affiliate marketing academy, glossary, and affiliate program directory provide learning opportunities, and subscribers can connect through social media. The company is committed to privacy and security. Finally, the process of building a Post Affiliate Pro dashboard is discussed.
El texto habla sobre Post Affiliate Pro, una plataforma de marketing para afiliados. Se ofrece una cuenta gratuita y se pueden hacer integraciones con diferentes soluciones de carrito de compras, como Gambio. Se detallan los pasos para la integración y seguimiento de ventas. También se menciona la importancia de integrar la plataforma con el código de seguimiento de clics.