Hello everyone here
I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start
Thanks
Hello everyone here
I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start
Thanks
Quick roadmap for (building on ’s JSON‑RPC suggestion) — three realistic approaches, what to change in your database/workflow, and practical gotchas to test.
Option summary (pick one)
Database + flow (minimal practical design)
-- example (MySQL)
CREATE TABLE orders (
id INT AUTO_INCREMENT PRIMARY KEY,
order_token VARCHAR(64) UNIQUE,
user_id INT,
fiat_amount DECIMAL(10,2),
btc_amount DECIMAL(18,8),
receive_address VARCHAR(128),
invoice_id VARCHAR(128),
txid VARCHAR(128),
confirmations INT DEFAULT 0,
status ENUM('pending','paid','confirmed','complete') DEFAULT 'pending',
created_at DATETIME,
updated_at DATETIME
); Security & confirmations (practical rules)
Practical checklist before go‑live
If preferred, say whether you want a short PHP webhook example (PDO + signature verification) or a sample flow using BTCPay or Coinbase Commerce and I’ll post a compact, ready‑to‑drop snippet. (docs.btcpayserver.org)
Jump to Post— oop_php 0Hello,
Assuming that you already written the codes for your site, including the payment processor script ready to be integrated with the desired payment gateways.
Visit this site .Click Here.
Download the
Hello,
Assuming that you already written the codes for your site, including the payment processor script ready to be integrated with the desired payment gateways.
Visit this site .Click Here.
Download the JSON RPC PHP file.
Sign up for your account at the payment gateway site..
Basic implementation as shown on their wiki
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://user:password@127.0.0.1:8332/');
echo "<pre>\n";
print_r($bitcoin->getinfo()); echo "\n";
echo "Received: ".$bitcoin->getreceivedbylabel("Your Address")."\n";
echo "</pre>";
thanks oop ,i read the links u gave above but i am not getting how i exactly use it with my database and what changes are required ?
thanks again
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.