Skrill (poprzednio MoneyBookers) integration
Biznes e-commerce, który umożliwia dokonywanie płatności i transferów pieniężnych przez Internet.
Integracja z serwisem Skrill (dawniej MoneyBookers).
Aktywuj “wtyczkę integracyjną MoneyBookers”
Najpierw musisz aktywować wtyczkę integracyjną MoneyBookers wewnątrz panelu handlowego Post Affiliate Pro (Network) w sekcji ‘plugins‘.
Konfiguracja Skrill (MoneyBookers)
- Zaloguj się na swoje konto Skrill (MoneyBookers)
Przejdź do Moje konto > Narzędzia sprzedawcy i ustaw Tajne słowo
Wróć do panelu handlowego Post Affiliate Pro (sieć) do sekcji ‘wtyczki‘, kliknij Konfiguruj obok wtyczki integracyjnej MoneyBookers i wprowadź Tajne Słowo w odpowiednie pole.
Tworzenie przycisków zakupu
Edytuj swój przycisk Skrill (MoneyBookers), dodając do niego te linie:
<input type="hidden" name="status_url" value="https://URL_TO_PostAffiliatePro/plugins/MoneyBookers/moneybookers.php">
<input type="hidden" name="merchant_fields" value="field1">
<input type="hidden" name="field1" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
W przypadku, gdy twój parametr ‘status_url‘ jest już używany do czegoś innego, proszę nie zmieniać go i postępować zgodnie z krokiem 5.
Jeśli używasz już także pola1, ustaw je na pole2 (i tak dalej…). W takim przypadku upewnij się, że twoja wtyczka (z kroku 2.) jest skonfigurowana do pracy z tym polem.
Przykładowy przycisk
Po dodaniu dodatkowego kodu, Twój kod przycisku może wyglądać tak:
<form action="https://www.skrill.com/app/payment.pl" target="_blank">
<input type="hidden" name="pay_to_email" value="your_moneybookers@email.com">
<input type="hidden" name="return_url_target" value="1">
<input type="hidden" name="cancel_url_target" value="1">
<input type="hidden" name="confirmation_note" value="Confirmed!">
<input type="hidden" name="dynamic_descriptor" value="Descriptor">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="title" value="Mr">
<input type="hidden" name="firstname" value="John">
<input type="hidden" name="lastname" value="Payer">
<input type="hidden" name="address" value="11 Payerstr St">
<input type="hidden" name="address2" value="Payertown">
<input type="hidden" name="phone_number" value="0207123456">
<input type="hidden" name="postal_code" value="EC45MQ">
<input type="hidden" name="city" value="Payertown">
<input type="hidden" name="state" value="Central London">
<input type="hidden" name="country" value="GBR">
<input type="hidden" name="amount" value="0.01">
<input type="hidden" name="currency" value="EUR">
<input type="hidden" name="amount2_description" value="Product Price:">
<input type="hidden" name="amount2" value="0.01">
<input type="hidden" name="amount3_description" value="Handling Fees:">
<input type="hidden" name="amount3" value="0.01">
<input type="hidden" name="amount4_description" value="VAT (20%):">
<input type="hidden" name="amount4" value="0.01">
<input type="hidden" name="detail1_description" value="Product ID:">
<input type="hidden" name="detail1_text" value="4509334">
<input type="hidden" name="detail2_description" value="Description:">
<input type="hidden" name="detail2_text" value="Romeo and Juliet (W. Shakespeare)">
<input type="hidden" name="detail3_description" value="Seller ID:">
<input type="hidden" name="detail3_text" value="123456">
<input type="hidden" name="detail4_description" value="Special Conditions:">
<input type="hidden" name="detail4_text" value="5-6 days for delivery">
<input type="hidden" name="rec_period" value="1">
<input type="hidden" name="rec_grace_period" value="1">
<input type="hidden" name="rec_cycle" value="day">
<input type="hidden" name="ondemand_max_currency" value="EUR">
<input type="submit" name="Pay" value="Pay">
<!-- Post Affiliate Pro integration snippet -->
<input type="hidden" name="status_url" value="https://URL_TO_PostAffiliatePro/plugins/MoneyBookers/moneybookers.php">
<input type="hidden" name="merchant_fields" value="field1">
<input type="hidden" name="field1" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
<!-- /Post Affiliate Pro integration snippet -->
</form>
Kiedy używany jest status URL
W przypadku, gdy twój parametr ‘status_url‘ jest już używany, musisz tylko ustawić pole sprzedawcy. Nie zmieniaj ‘status_url‘. Zapisz swoje zmiany w przycisku, a następnie edytuj skrypt, który jest teraz ustawiony w ‘status_url‘. Na początku pliku, lub funkcji przetwarzającej umieść ten kod:
/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/MoneyBookers/moneybookers.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */
To wszystko. Zapisz swoją pracę. Masz teraz zintegrowany system.
Discover seamless integration solutions with Post Affiliate Pro, the leading affiliate marketing software. Effortlessly connect with platforms like Authorize.net, Calendly, FormAssembly, and more to enhance your e-commerce and reporting capabilities. Enjoy free trials, 24/7 support, and maximize your marketing ROI with advanced tracking and flexible commission options. Visit now to revolutionize your affiliate marketing strategy!