|
Accept Payments Online with AyuPay. Put this Purchase Online Button on your
website. Code :
<form method="POST"
action="http://www.ayupay.com/PurchaseOnline.php">
<input type="hidden" name="PayeeAcct" value="PAYEE.EMAIL">
<input type="hidden" name="CashAmount" value="CASH.AMOUNT">
<input type="hidden" name="SpendCur" value="CURRENCY">
<input type="hidden" name="PaymentURL" value="PAYMENT.URL">
<input type="hidden" name="NoPaymentURL" value="NO.PAYMENT.URL">
<input type="hidden" name="StatusURL" value="STATUS.URL">
<input type="hidden" name="Memo" value="MEMO">
<input type="hidden" name="PayerAcct" value="PAYER.ACCT">
<input type="image" src="http://merchants.ayupay.com/PurchaseOnline.png"
name="Submit" width="109" height="28">
</form> |
Input Variables :
Replace Read Marked words with :
PAYEE.EMAIL = User Who will Get Paid
(REQUIRED)
CASH.AMOUNT = Amount of Payment to Receive
(REQUIRED)
CURRENCY = Currency You will receive Payments
In, Integer Value Between 1 to 6 (REQUIRED)
- USD = 1
- AUD = 2
- CAD = 3
- PKR = 4
- JPY = 5
- BDT = 6
PAYMENT.URL = URL User will be Sent after
Payment is Made, Output Variables (see below) will be
sent to this URL with POST Method. (REQUIRED)
NO.PAYMENT.URL = URL User will be Sent if
Payment is Canceled (REQUIRED)
STATUS.URL = Status URL For Application, Output
Variables (see below) will be sent to this URL with
GET Method.
These Variables are Not Required :
MEMO = Memo of Payment
PAYER.ACCT = Payer's Email Address
Output Variables :
On PAYMENT.URL these will be sent with POST
Method and On STATUS.URL these will be sent with GET Method.
Example : $_POST['TransactionID'] and $_GET['TransactionID']
TransactionID = Transaction ID of Payment.
PayeeAcct = User Who Got Paid.
PayerAcct = User Who Spent Payment.
Memo = Memo of Payment.
CashAmount = Amount of Payment Received.
Note : Output Cash Amount is always in USD as
all currencies are converted to USD during spend.
Buttons :

|