Un conjunto de API que impulsa el comercio para empresas de todos los tamaños.
Stripe hace que sea fácil comenzar a aceptar tarjetas de crédito en la web hoy mismo. El método de integración utiliza nuestro plugin integrado para el manejo de notificaciones.
La integración gestiona pedidos, pedidos recurrentes y reembolsos también. También admite comisiones de por vida y gestión de cupones.
Datos de cookies – formulario de pedido
Toda cuenta de cliente en stripe tiene un campo adicional llamado ‘ descripción ‘. En este método de integración, lo estamos usando. La tarea es agregar el valor de la cookie (de seguimiento) en el campo descripción que se encuentra en su formulario de pedido. La forma más sencilla es agregar este código a tu formulario de pago:
<input type="hidden" name="pap_custom" value="" id="pap_tdx8v2s5a" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('pap_tdx8v2s5a');
</script>
Cuando se envía el formulario (el cliente está ordenando), puedes procesar los datos del formulario de la manera estándar y antes de crear un cargo y una cuenta de cliente (con Stripe_Customer::create), debes usar el pap_custom del formulario enviado y establecer el valor como una descripción del cliente – “description” = > $_POST[‘pap_custom’] .
Datos de cookies – Stripe Checkout
Si estás utilizando Stripe Checkout , en lugar del paso anterior, debes realizar este . Básicamente, lo que se debe hacer es insertar en la opción clientReferenceId de la función stripe.redirectToCheckout con el ID de seguimiento que se puede obtener como explica esto .
A continuación se muestra un ejemplo de un botón Stripe Checkout integrado:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var papCookie = '';
PostAffTracker.setAccountId('Account_ID');
try {
PostAffTracker.track();
} catch (err) { }
PostAffTracker.executeOnResponceFinished.push(function() {
papCookie = PostAffTracker._getAccountId() + PostAffTracker._cmanager.getVisitorIdOrSaleCookieValue();
});
</script>
<script src="https://js.stripe.com/v3"></script>
<button id="checkout-button-price_1HHyerAqrxE6mVvaZyp4HYuI" role="link" type="button">Purchase</button>
<div id="error-message"></div>
<script>
(function() {
var stripe = Stripe('pk_live_key');
var checkoutButton = document.getElementById('checkout-button-price_1HHyerAqrxE6mVvaZyp4HYuI');
checkoutButton.addEventListener('click', function () {
stripe.redirectToCheckout({
lineItems: [
{price: 'price_123', quantity: 1},
],
mode: 'payment',
successUrl: 'https://your-website.com/success',
cancelUrl: 'https://your-website.com/canceled',
clientReferenceId: papCookie
})
.then(function(result) {
.....
});
});
})();
</script>
Seguimiento de ventas
El seguimiento de la venta se realizará de forma automática, tanto para los cargos estándar como para los recurrentes. El último paso es configurar su Stripe para informar a tu Post Affiliate Pro sobre cada cargo. Esto lo hacen los webhooks de Stripe.
Para configurar un webhook, ve a la sección del menú Desarrolladores (arriba a la derecha) y luego ve a Webhooks. Al hacer clic en Agregar punto final, se muestra un formulario para agregar una nueva URL para recibir webhooks. Ingresa esta URL allí para recibir notificaciones en vivo:
https://URL_TO_PostAffiliatePro/plugins/Stripe/stripe.php?AccountId=Account_ID
En caso de eventos para escuchar, puedes agregar invoice.payment_succeeded, charge.succeeded y charge.refunded. Si estás utilizando Stripe Checkout, también necesitarás el evento checkout.session.completed.
Si deseas realizar un seguimiento de los pagos de prueba, configura también el mismo webhook en el modo de prueba.
Actación de plugin
El último paso es activar el plugin integrado en tu Post Affiliate Pro. No olvides configurarlo después de la activación agregando la clave API secreta o una clave API restringida. En caso de que desees utilizar una clave de API restringida, debes permitir el acceso de lectura a estos recursos: Cargos, Suscripciones, Sesiones de pago, Clientes y Facturas..
Eso es todo, ya está. Todas las transacciones ahora serán rastreadas.
No olvides integrar tu sitio con el código de seguimiento de clics para que todo funcione.
The text contains information about a company, its awards, customer ratings, affiliate programs, reseller lists, support services, pricing, features, integrations, and alternatives. It also mentions the company's blog, academy for affiliate marketing, directory, and glossary. The website offers a newsletter subscription and is active on social media. The text includes a progress update for installing a Post Affiliate Pro account and mentions the use of cookies on the website. Visitors can schedule a one-on-one call with the company and use various contact forms and chat options.
The text discusses Post Affiliate Pro, a tool for affiliate marketing that allows people to create their own subdomain account for tracking sales. It provides detailed instructions on how to integrate the tool with Iono and mentions some of Iono's features. The text also highlights integrations with aMember, Recurly, PaySimple, and other relevant resources. The process for integrating Recurly and PaySimple are also covered, along with tips for successful integration. Additionally, the text mentions resources like Payrexx, CommerceGate, Instamojo, Fortune3, and Protección Antifraude.
The text discusses the availability of Post Affiliate Pro, a platform for affiliate marketing. The user can start a free trial by registering and accepting terms and conditions. The integration with PaySimple is complicated, but can be done by creating or editing a payment form. The user must name the URL and create a unique URL with tracking code to ensure proper tracking. The text also mentions other payment integrations available on Post Affiliate Pro such as Payrexx, Recurly, CommerceGate, and Instamojo.
El texto habla sobre la disponibilidad de una solución de punto de venta móvil llamada PlugnPay que permite a los negocios realizar transacciones seguras en cualquier momento. También explica cómo integrar el formulario de botón con la plataforma Post Affiliate Pro para registrar comisiones de venta mediante IPN y cómo modificar los formularios existentes. La cuenta es gratuita y se requiere aceptar los T&C y la Política de Privacidad. La mayoría de las personas usan el nombre de su empresa o equipo para elegir un nombre de subdominio en Post Affiliate Pro. La solución ha sido confiada por los mejores y tiene una calificación de 4,8/5 y 5/5.