PHP Web uygulaması MoneyBookers entegre nasıl?

2 Cevap php

I am constructing a PHP website,in which we need a payment gateway based on MONEYBOOKERs. Can Any one help in embedding the moneybookers gateway to my site.As I am using the test link which is https://www.moneybookers.com/app/test%5Fpayment.pl , but it is not showing any of the money transfer in it. Please Help!

Şimdiden teşekkürler

2 Cevap

How to automate Moneybookers (Skrill) using status_url (IPN) : Ben benim yeni bir blog yazısı üzerine detaylı olarak bu konuyu kapsamaktadır. PHP ve C # ve noktalarını gösteren resimler için örnek kod var:

  1. Moneybookers test hesabı için kaydolma
  2. Bir "gizli kelime" Create
  3. (Moneybookers ödeme sayfasında logo ile) kendi ödeme formu oluşturma
  4. Moneybookers sırasını doğrulamak

Ben yaptım eğer benim cevap birkaç sayfa sürebilir çünkü ben, burada her adım karşılamayacaktır. Şu anda bu sayfada cevap sorunlar (SQL enjeksiyonu, vb) ile delik deşik Ancak ben 4 konuyu (Moneybookers sırasını doğrulayarak) kapsayacaktır. Her adım için-ayrıntılı talimatlar istiyorsanız o read my article .

Simple payment form on your website

Ben daha ayrıntılı in the article bu işe, ama burada basit bir ödeme formu bulunuyor. Sizin doğru fiyatlarla, uygulama adı ve Moneybookers e-posta ile cesur değerlerini değiştirin:


<form action="https://www.moneybookers.com/app/payment.pl" method="post">
  <input type="hidden" name="pay_to_email" value="merchant-email@example.com"/>
  <input type="hidden" name="status_url" value="http://example.com/verify.php"/> 
  <input type="hidden" name="language" value="EN"/>
  <input type="hidden" name="amount" value="Total amount (e.g. 39.60)"/>
  <input type="hidden" name="currency" value="Currency code (e.g. USD)"/>
  <input type="hidden" name="detail1_description" value="YourApp"/>
  <input type="hidden" name="detail1_text" value="License"/>
  <input type="submit" value="Pay!"/>
</form>

Verifying the Moneybookers order

Bir kullanıcı yazılım, eBook veya diğer dijital içerik için ödenen sonra otomatik sırasını doğrulamak ve onların e-posta adresine ne emretti göndermek isteyeceksiniz. Bu örnekte ben creating a product key using LimeLM söz, ama sen gerçekten bir şey yapabilirsiniz.

Yukarıdaki örnekte formda size Moneybookers emir doğrulayacaktır senaryonun konumunu ayarlamak:


<input type="hidden" name="status_url" value="http://example.com/verify.php"/> 

Yazısının ilgili bölümü şudur:


// Validate the Moneybookers signature
$concatFields = $_POST['merchant_id']
    .$_POST['transaction_id']
    .strtoupper(md5('Paste your secret word here'))
    .$_POST['mb_amount']
    .$_POST['mb_currency']
    .$_POST['status'];

$MBEmail = 'merchant-email@example.com';

// Ensure the signature is valid, the status code == 2,
// and that the money is going to you
if (strtoupper(md5($concatFields)) == $_POST['md5sig']
    && $_POST['status'] == 2
    && $_POST['pay_to_email'] == $MBEmail)
{
    // Valid transaction.

    //TODO: generate the product keys and
    //      send them to your customer.
}
else
{
    // Invalid transaction. Bail out
    exit;
}

Eğer Moneybookers gizli kelimeyi nasıl kurulacağını bilmiyorsanız, ben "How to automate Moneybookers (Skrill) using status_url (IPN) " makalesinde bunu nasıl açıklar.

Full payment example

Bu kodu kendiniz yazmadan meraklı değilseniz o zaman bizim LimeLM müşteriler için tam entegre bir ödeme formu var. PHP, C #, VB.NET ve için yazılmış ve tüm müşterilerimize (hatta ücretsiz kullanıcılar) için ücretsiz oluyor. Yani, karşıdan sitenize entegre, ve bize bir kuruş ödemeden kullanabilirsiniz.

İşte payment selection page gibi görünüyor:

enter görüntü açıklaması here

Örneğin, MoneyBookers belgeleri almak gerekir bu: http://www.moneybookers.com/app/help.pl?s=m%5Fmanual tüccar geçidi ve bir test hesap için. Sonra iyice bir kaç kez okudum ve akışını anlamak. O sayfanın Demo bölümüne gidin ve görüyoruz. Son olarak, kodlama başlatmak ve test hesabı ile testler yapmak.