
GoPay
Would you like to improve your affiliate software even more? Check out the GoPay integration for Post Affiliate Pro.
Integrate WebToPay with Post Affiliate Pro for efficient global money transfers and sales commission tracking. Retrieve visitor ID, append it to callback URL, and parse responses to register commissions seamlessly. Start your free trial today!
The faster way to send and receive money all over the world.
This integration method uses integration with WebToPay API. More info about this payment gateway can be found here:
https://www.webtopay.com/index.php?2595448377
The integration method is divided into two main sections:
First thing is to get the cookie value, e.g. using standard PHP methods, or you can use our script that reads it from cookies:
writeCookieToCustomField OR writeCookieToLink
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.writeCookieToCustomField('fullCookieInfoId');
PostAffTracker.writeCookieToLink('affCookieLinkId', 'papCookie');
</script>
Based on the method you used, you can get the cookie value from GET or POST parameter.
Now, when you have the value, you have to attach it to callbackurl, BEFORE using the function WebToPay::buildRequest($request) .
E.g. if your callbackurl parameter was set like this:
$request[‘callbackurl’] = $request_url;
append the cookie value, sent in GET parameter like this:
...
$request['callbackurl'] = $request_url."?papCookie=".$_GET['papCookie'];
...
This will send get parameter “** papCookie **” to the gateway. This is needed so we can use Post Affiliate Pro API when parsing response from webtopay… otherwise the sale would be unreferred.
After calling the function WebToPay::checkResponse() in your callbackurl , in a place where you are sure everything is correct, you can call our API to register a commission.
Do not forget to set correct path to your PapApi.class.php file (in api/ directory of Post Affiliate Pro):
// [Post Affiliate](https://www.postaffiliatepro.com/ "Post Affiliate Pro offers a comprehensive affiliate software platform to manage multiple affiliate programs with ease. Enjoy no setup fees, 24/7 customer support, and a free 1-month trial. Ideal for small and large businesses, it features precise tracking, automated workflows, and customizable tools to boost your affiliate marketing success. Try it now and streamline your affiliate operations effortlessly!") Pro integration snippet --------------------------
if (isset($_GET['papCookie']) && (strlen($_GET['papCookie']) > 20)) {
require_once "path_to_PAP/api/PapApi.class.php"; // set correct path to API file here
$saleTracker = new Pap_Api_SaleTracker('https://URL_TO_PostAffiliatePro/scripts/sale.php');
$saleTracker->setAccountId('default1');
$saleTracker->setVisitorId(substr($_GET['papCookie'], -32)); // returns only visitor ID, no "default1" prefix
$total = $response['amount']/100; // need to get rid of hundreds
$sale = $saleTracker->createSale();
$sale->setTotalCost($total);
$sale->setOrderID($response['orderid']);
$saleTracker->register();
}
// /Post [Affiliate](https://www.postaffiliatepro.com/ "Post Affiliate Pro offers a comprehensive affiliate software platform to manage multiple affiliate programs with ease. Enjoy no setup fees, 24/7 customer support, and a free 1-month trial. Ideal for small and large businesses, it features precise tracking, automated workflows, and customizable tools to boost your affiliate marketing success. Try it now and streamline your affiliate operations effortlessly!") Pro integration snippet -------------------------
This is all you need to track a sale commission.
More info can be found here:
https://www.webtopay.com/index.php?683722975
WebToPay is a reliable, secure, and fast online payment system designed to facilitate the sale and purchase of goods and services over the Internet. Acting as an intermediary between companies and their clients, it automates the settlement process and supports transactions 24/7. WebToPay caters to both macropayments through e-banking systems and micropayments via SMS and telephone, all without any monthly or connection fees. It seamlessly integrates with third-party systems like Post Affiliate Pro API and accepts common currencies such as USD, EUR, RUB, and LTL.
WebToPay is offered by Paysera, a company founded in 2004 under the name Elektroniniai verslo projektai. The journey began with the launch of its payment processing project, mokejimai.lt, in 2006. Over the years, it underwent rebranding to become EVP International and eventually adopted the name Paysera in 2014. Demonstrating significant global expansion, Paysera introduced innovative solutions like Paysera Tickets and IBAN accounts, extending its reach to over 100 countries.
WebToPay is tailored for businesses engaged in online transactions, providing them with efficient and secure payment processing solutions. Its target audience includes companies and individuals who require a dependable and versatile online payment system that supports a variety of payment methods and caters to international clients. The platform’s easy installation process and low transactional fees—without any monthly charges—make it an attractive option for a wide range of business users.
Specific pricing details for WebToPay are not publicly available. Interested parties are encouraged to contact WebToPay directly or visit their official website to obtain detailed information about their pricing structure.
WebToPay has garnered a TrustScore of 4.5 out of 5 based on 53 user reviews, reflecting high levels of customer satisfaction.
Pros:
Cons:
These reviews provide visual insights into how WebToPay operates and how it can be leveraged to enhance business transactions.
For businesses exploring other options, the following alternatives to WebToPay are worth considering:
Paysera
An online settlement system for trading goods and services, offering a wide range of payment solutions.
Moqpay
Provides global payment solutions with multiple payment methods tailored to diverse business needs.
Post Affiliate Pro with WebToPay
Enhances affiliate marketing by facilitating money transfers and tracking sales commissions through API integration.
lib-webtopay on GitHub: A library for integrating WebToPay’s Checkout API, ideal for developers looking for seamless integration.
WebToPay is a reliable, secure, and fast online payment system facilitating sales and purchases over the Internet. It acts as an intermediary between companies and clients, automating settlements and supporting transactions 24/7, including macropayments and micropayments, without monthly or connection fees.
Integration involves passing the visitor ID (cookie value) to the WebToPay gateway and reading the response to register a commission. You need to append the affiliate cookie to the callback URL and use the Post Affiliate Pro API to track sales commissions.
WebToPay offers secure Checkout API integration, flexible installation, PHP 7.4 security compliance, integration with Post Affiliate Pro for affiliate tracking, and a user-friendly interface with comprehensive documentation.
WebToPay is ideal for businesses and individuals needing dependable and versatile online payment solutions, especially those requiring support for multiple payment methods and international transactions.
Yes, alternatives include Paysera, Moqpay, and developer tools like lib-webtopay on GitHub. Each provides different features for online payments and integrations.
Pros include quick and secure payments, responsive customer support, and seamless international transactions. Cons include some reports of high transaction fees and isolated cases of unprofessional behavior.
Specific pricing details are not publicly available; interested users should contact WebToPay directly or visit their official website for more information.
Discover how integrating WebToPay with Post Affiliate Pro streamlines your affiliate marketing with secure, fast payment processing. Try it now risk-free!
Would you like to improve your affiliate software even more? Check out the GoPay integration for Post Affiliate Pro.
Learn how to integrate aMember v4 membership software with Post Affiliate Pro to manage memberships, subscriptions, payments, and affiliate programs seamlessly....
Would you like to improve your affiliate software even more? Check out the PayPal (IPN and custom field used by other scripts) integration.