–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

Example:
europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

GoPay

Este método de integración integra la página web definida en el parámetro successURL. Usando la API de Post Affiliate Pro puedes registrar una comisión.

Ajuste del parámetro SuccessURL

Si ya estás utilizando successURL, continúa con el paso 2.

Si no utilizas el parámetro successURL en tu formulario/enlace de pago tienes que añadirlo. Si lo haces, tienes que modificar el script que crea encryptedSignature por ti, para que incluya también successURL. La línea de código del formulario debería ser así

<input name="paymentCommand.successURL" value="http://www.yourshop.com/success" />

Envío de datos especiales con successURL

Para integrar correctamente GoPay tienes que añadir un parámetro GET con el valor de la cookie de afiliado al parámetro successURL. Tienes que hacerlo antes de que se cree el encryptedSignature, ya que no coincidiría con el successURL original.

Si tu successURL tiene este aspecto ‘http://www.yourshop.com/thanks.php’ la modificada tiene que tener este aspecto ‘http://www.yourshop.com/thanks.php?custom=

Tienes que establecer el valor del parámetro GET ‘custom‘ con el valor de la cookie PAPVisitorId. Puedes hacerlo, por ejemplo, utilizando la variable superglobal PHP $_COOKIE.

El enlace final debe tener el siguiente aspecto http://www.yourshop.com/thanks.php?custom=0c47be0634f3cd4331a8ede00qrpDxEg o con la cuenta predefinida: http://www.yourshop.com/thanks.php?custom=default10c47be0634f3cd4331a8ede00qrpDxEg

Registro de la comisión de venta

El último paso es el registro de la comisión de venta. En tu archivo successURL, en el lugar donde se comprueba si la transacción se ha pagado correctamente (GopaySoap::isEshopPaymentDone) tienes que añadir nuestro código API para crear una comisión. Si la transacción es correcta (opayHelper::PAYMENT_DONE), tienes que cargar los detalles de la transacción y utilizarlos para la comisión.

Aquí tienes un ejemplo de código API:

<?php
include_once('PapApi.class.php'); // path to your PAP4 API file

$saleTracker = new Pap_Api_SaleTracker('https://URL_TO_PostAffiliatePro/scripts/sale.php');

$saleTracker->setAccountId('Account_ID');
$saleTracker->setVisitorId(substr($_GET['custom'],-32));

$sale = $saleTracker->createSale();
$sale->setTotalCost($order->total); // $order is supposed to be your shop variable
$sale->setOrderID($_GET['variableSymbol']);
$sale->setProductID($order->prodId);

$saleTracker->register();
Volver a Integraciones Crear cuenta GRATIS
¿Quieres mejorar aún más tu software de afiliación? Echa un vistazo a la integración de OpenCart para Post Affiliate Pro.

OpenCart

The article discusses how to integrate Post Affiliate Pro with the OpenCart e-commerce solution. It provides instructions on editing the confirmation and success pages as well as setting up the cart as one transaction or one transaction per product. The article also mentions a free trial offer and highlights the positive review ratings.

¿Te gustaría mejorar aún más tu software de afiliados? Consulta la integración de Zoey para Post Affiliate Pro.

Zoey

The article discusses Post Affiliate Pro, a tool for affiliate marketing that integrates with various resources such as aMember, Recurly, and Iono. It provides instructions for successful integration and also mentions other relevant resources such as Payrexx and Instamojo. The article also covers the Gravity Forms affiliate program, clear terms and conditions, and the importance of following campaign rules. The text concludes with mentions of Recurly, its features, and customer support options.

¿Te gustaría mejorar aún más tu software de afiliados? Consulta la integración de la suscripción de vBulletin PayPal para Post Affiliate Pro.

vBulletin PayPal subscription

The given text is about integrating Post Affiliate Pro with different platforms such as vBulletin and PayPal to process payments and manage memberships. The process involves selecting appropriate templates, finding specific lines in the code, and adding integration code. The text also mentions the benefits of using Post Affiliate Pro and OptimizePress for creating landing pages and membership sites without coding knowledge. Overall, the text emphasizes the importance of integration and offers a free account to get started.

¿Te gustaría mejorar aún más tu software de afiliados? Echa un vistazo a la integración de Wix para Post Affiliate Pro.

Wix

The text discusses the various integrations of Post Affiliate Pro, a platform for affiliate tracking, with different e-commerce systems. The text highlights the ease of use and flexibility of InSales, CommerceGate, Paysimple and Wix, among others. The integration process using asynchronous JavaScript code is also explained, along with the importance of total cost calculation for commission tracking. The text provides steps for integrating Wix stores with Post Affiliate Pro and customizing the store's thank you page. Overall, the text provides useful information for marketers looking to integrate their e-commerce platforms with Post Affiliate Pro.

Nuestro sitio web utiliza cookies. Al continuar, asumimos tu permiso para implementar cookies como se detalla en nuestro política de privacidad y cookies.

×

Programa una llamada uno a uno y descubre cómo Post Affiliate Pro puede beneficiar a tu negocio.

Estamos disponibles en varias fechas

Programa una llamada