This sample code describes how to interface world wide payment system to the PPScriptDemo Payment System. This interface uses standard HTML forms to provide a simple way for online merchants to integrate PPScriptDemo as a method of payment for their services.
PAYMENT TRANSACTION API CODE: |
|
REQUIRED AND ASSOCIATED OPTIONAL HIDDEN TEXT FIELDS |
Field Name |
Field Value and Usage |
username |
Your username |
product |
Your product ID or product name |
action |
Use "product" if this product is pre-defined
Use "donation" if this is donation payment
Use "subscription" if this product is subscription
Use "payment" if this is simple payment transaction |
price |
Price of your product, $ |
quantity |
Product quantity |
period |
Used subscription rebilling period, days |
trial |
Trial period, days |
setup |
Used for Setup fee, $ |
tax |
Used for Tax fee, $ |
shipping |
Used for Shipping fee, $ |
ureturn |
Use return URL of the page |
unotify |
Use notify URL of the page |
ucancel |
Use cancel URL of the page |
comments |
Used for Product description |
|
RETURNED HIDDEN TEXT FIELDS |
Field Name |
Usage |
action |
Type of the transaction i.e product or donation or subscription or payment |
pid |
Internal product ID |
pname |
Product name |
buyer |
Buyer username |
total |
Total amount |
quantity |
Quantity of the product |
comments |
Buyer notes |
referer |
System referer URL (https://paymentprocessorscript.net/demo) |
tid |
Transaction Id |
|
API GUIDE |
PPScriptDemo is a programmatic interface that allows any Merchant to automatically accept payments online. PPScriptDemo API is a programming interface, which allows you to automate the process of sending and receiving payments.
If you want to accept payments online on your site please click here to download our documentation.
|
|