- 1 // Publish on your site
- 2<form method="POST" action="https://paypoi.net/sci/form" target="_blank">
- 3 <input type="hidden" name="merchant" value="7">
- 4 <input type="hidden" name="item_name" value="Testing payment">
- 5 <input type="hidden" name="amount" value="112">
- 6 <input type="hidden" name="currency" value="debit_base">
- 7 <input type="hidden" name="custom" value="comment">
- 8 <button type="submit">Pay now!</button>
- 9<form/>
開発者向けドキュメント
シンプルフォーム & リアルタイム通知
ロケットスタート
アカウント登録、アカウント認証。あとは、お支払いを受けるだけの手軽さ!
IPNシステム
お支払い通知をリアルタイムで送信、円滑なビジネスをサポートします!
テストモード
開発者向けに特別なテストモードのご用意がございます。是非お試しください!
あなたのホームページからお支払い、またはPAYPOIからも便利にお支払い
どのように支払いを受け取る?
1
あなたのサイトで - HTMLフォームと支払いのパラメータをあなたのサイトで公開をするだけ。購入者は自動的にお支払いのページに移動し、お支払いを行います。
2
ショップ&支払いで - サイト内の商品カタログにあなたのストアを開き、お気に入りの商品を追加する事が可能です。購入者は自動的に決済を済ますことが可能です。
3
請求システムで - あなたは金額と相手側のユーザー名を入力し、請求の送信ボタンをクリックするだけ。請求の相手側には、お支払いの請求通知が送信されます。
最も多彩で人気の入金手段
更にもっとあります
ドキュメント
支払時POST通知
Variable | Description | Conditions | Necessarily |
---|---|---|---|
merchant |
Merchant ID in the system PAYPOI. Assigned to the merchant automatically after adding a store to your account. Your store must be moderated | Not equal to 0 | Yes |
item_name |
Product name or purpose of payment. This item is visible to the payer | Minimum number of characters 3, maximum - 100 | Yes |
amount |
The sum in any form. The sum is rounded to decimal places. The total amount including commission will be calculated automatically | Sum is more than 1 | Yes |
currency |
Currency of payment. Available currencies debit_base , debit_extra1 , debit_extra2 , debit_extra3 , debit_extra4 , debit_extra5 |
Only values from the list | Yes |
custom |
Comment to the payment. For example, the order number in your store. This item is not displayed to the buyer | Maximum - 100 | Yes |
リアルタイムIPN通知
Variable | Description | Example |
---|---|---|
$POST['amount'] |
The received amount without commissions | 100.00 |
$POST['fee'] |
Fee for payment. Paid by the buyer or merchant according to the settings | 0.20 |
$POST['total'] |
Total transaction amount including commission | 100.20 |
$POST['currency'] |
Transaction currency for which payment was made | debit_base |
$POST['payer'] |
Buyer username in the system PAYPOI | johndoe |
$POST['receiver'] |
Merchant username in the system PAYPOI | sample |
$POST['status'] |
The status of the transaction. Always Value "Confirmed" | Confirmed |
$POST['date'] |
Transaction date | 2018-01-09 03:11:07 |
$POST['id_transfer'] |
Unique transaction number in the system PAYPOI | 58954 |
$POST['merchant_name'] |
Merchant store name in the system PAYPOI | Google Inc |
$POST['merchant_id'] |
Unique number of merchant in the system PAYPOI | 21 |
$POST['balance'] |
Available merchant balance in transaction currency | 2100.56 |
$POST['item_name'] |
Name of paid goods | Test payment |
$POST['custom'] |
Comment on payment, formed by the merchant in the HTML form | INV 1452485 |
$POST['hash'] |
A unique signature that is used to verify the validity of a notification. A string join is created of the total amount, merchant password, date transaction and transaction ID. The string is encrypted using an algorithm MD5. | C93D3BF7A7C4AFE94B64E30C2CE39F4F |
Example of a notification handler in PHP