A gyorsabb és biztonságosabb módja a pénzküldésnek, az online fizetésnek, a pénz fogadásának vagy a kereskedői számla létrehozásának.
A PayPal integrálja az IPN visszahívást akkor is, ha a visszahívást más rendszer (pl. bevásárlókosár) használja.
Figyelem! Ez a PayPal-lal való integráció leírása, ha PayPal gombokat használ weboldalain. Ha a PayPal-t használja feldolgozó rendszerként a bevásárlókosarában, használja a bevásárlókosárba való integráció módszerét, ne ezeket a lépéseket.
Paypal gomb
Most adja hozzá a következő kódot MINDEN PayPal gomb űrlapjához:
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
Ez biztosítja, hogy a hivatkozó az egyéni mezőbe kerüljön.
Példa
Példa frissített PayPal űrlapra:
<!-- Begin PayPal Button -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypalemail@yoursite.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_number" value="Product Name">
<input type="hidden" name="amount" value="19.95">
<input type="hidden" name="image_url" value="https://yoursite.com/images/paypaltitle.gif">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.yoursite.com/paypalthanks.html">
<input type="hidden" name="cancel_return" value="http://www.yoursite.com">
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript"></script>
<input type="image" src="http://images.paypal.com/images/x-click-but5.gif" border="0" name="submit">
</form>
<!-- End PayPal Button -->
Integráció
Most az IPN-visszahívás a szkriptre mutat. Ezt a visszahívást a PAP paypal.php szkriptnek is továbbítania kell, amelynek URL-je https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php.
Abban az esetben, ha a paypal feldolgozó szkriptje PHP-ben van, a következő kódot használhatja ennek végrehajtásához. Elhelyezheti a feldolgozási fájl elejére.
/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */
Ez biztosítja, hogy a teljes IPN-visszahívást a rendszer az eredeti szkript befolyásolása nélkül továbbítsa
Ez minden, ami szükséges. Mostantól, amikor művelet van, a PayPal IPN-funkciójával hívja meg az eladáskövető szkriptünket, és a rendszer jutalékot generál a partner számára.
MEGJEGYZÉS: Ha több gomb van egy oldalon, akkor csak HTML címkéket illesszen be a gombba. A script címkét csak egyszer kell beilleszteni a teljes oldalra. Még csak nem is kell gomb formában lennie, valahol az oldal törzsében lehet.
The article discusses the benefits of syndication for marketing, including various means of distribution such as broadcast, web, search, and print. Private campaigns are also highlighted. The integration of Dwolla in Post Affiliate Pro and commission groups feature are mentioned, along with information on pricing, features, integrations, and support. The article also includes contact information and links to resources such as a knowledge base, blog, and affiliate program.