To register and start
using CoinPip’s online bitcoin payment engine to accept bitcoin on your website
is relatively easy. To list out briefly
Sign
up for a CoinPip account
1. Create a shopping cart key
2. Paste javascript code to your website
Step 1: Sign up for a CoinPip Account
Signing up an account with CoinPip is relatively
simple. All you need to enter is:
1. Login Name
2. First Name and Last Name
3. Email
Address
4. Country
Selecting your country of business is important as it links to the respective currency to that country. If you select Indonesia, your account will be denominated in Indonesia Rupiah (and bitcoin of course).
Just following the instructions from the emails, you will be able to setup your account in a relatively short period of time.
Step 2: Create a shopping cart key
You can refer to this post in our docs, which shows you in detail how to setup your shopping cart key (api key). Just a tip, unless you are involved in developing a complex website, you do not need to fill in the field “callback”. Other fields listed should be quite easy to understand.
Step 3: Paste javascript to your website
Developers can view the post in the docs here. Otherwise you view this section to implement the payment gateway without much customization required.
To illustrate how the payment gateway works, it’s best to use an example. You might need a slight knowledge of html forms and javascript. Otherwise it shouldn’t be that difficult.
Copy and paste the script below into your webpage’s .
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<script type="text/javascript">
function ProceedBitcoinPayment() {
var email = "";
var amount = 0.00;
var api_id = "";
var reference = "";
email = $('#customer-email').val();
amount = parseFloat($('#amount').val());
api_id = $('#api_id').val();
reference = $('#reference').val()
coinpip.RequestPayment(api_id, // Your API ID
{
Title: 'Pay with bitcoins',
FiatAmount: amount,
CustomerEmail: email,
Reference: reference
}
);
}
</script>
|
There are 4 important ‘#’ items you have to take note – #customer-email, #amount, #api-id, #reference. These fields are to be passed by the form that you or user fills in, something like: -
1
2
3
4
5
|
Email : <input type="text" id="email"><br>
Amount: <input type="text" id="amount"><br>
Reference: <input type="text" id="reference"><br>
API ID: <input type="hidden" id="api_id" value="8dbbde0bfd564c059f795fde25e60464"><br>
<input style="width: 270px;" type='image' src="https://wallet.coinpip.com/bb.png" value='Pay with bitcoins' onclick="ProceedBitcoinPayment()" />
|
Sample picture of CoinPip’s bitcoin online gateway |
And that’s it!
If you have any questions, please put your comments below or message us from our website.
if you feel useful donate BTC to : 1DkegbmiULAGYaAxr1pNmPQr4syW5qZ7sj
Great information shared. If you are looking for bitcoin developer in India contact us today at: info@cryptextechnologies.com
ReplyDelete