Bitcoin Forum

Bitcoin => Project Development => Topic started by: tvasconcelos on September 10, 2014, 11:25:33 PM



Title: Need some help with php and mysql
Post by: tvasconcelos on September 10, 2014, 11:25:33 PM
Hi guys, anybody with php and misql knowledge that could give me a help? I have an auction website and i'm going to have bitcoin payments through bitpay. I implemented the button but i don't know how to have the response of payment received, and then update the user acount in the database. Also have another payment gateway that needs some php with the same problem. Can anyone give me a hand with this? I really need some help, i'm delaying the launch of the website because of this, i don't want to have just the paypal option...

Thanks in advance,
Tiago Vasconcelos


Title: Re: Need some help with php and mysql
Post by: williamj2543 on September 10, 2014, 11:26:09 PM
I'm your guy. PM me your details and skype and we can discuss this further.


Title: Re: Need some help with php and mysql
Post by: Initscri on September 11, 2014, 04:52:18 AM
PM me with your details. I may not be able to start right away (large workload) but I can definitely help you out within the next week or so.


Title: Re: Need some help with php and mysql
Post by: tvasconcelos on September 11, 2014, 01:55:47 PM
I guess you missed the point about asking for... HELP!! If i meant to pay for this "help" i wouldn't call it help. I'd asked for someone to do something for me in exchange of same sort of payment...


Title: Re: Need some help with php and mysql
Post by: williamj2543 on September 12, 2014, 12:35:15 PM
Oh ok, sorry. I get pretty busy, and I don't really donate my time for free.


Title: Re: Need some help with php and mysql
Post by: Initscri on September 12, 2014, 02:54:23 PM
Oh ok, sorry. I get pretty busy, and I don't really donate my time for free.

I'll have to agree with this.


Title: Re: Need some help with php and mysql
Post by: h0lybyte on September 17, 2014, 03:15:05 AM
You should hire an in-house developer... if you plan on operating an auction site! You can not expect people to fully entrust themselves onto a site, if you need to use the forum for such basic programming tasks.

Just my 2 cents OP.


Title: Re: Need some help with php and mysql
Post by: Miitch on September 17, 2014, 05:52:23 PM
Have you checked out the Bitpay API Documentation?
https://bitpay.com/downloads/bitpayApi.pdf

Page 17 is what you want. The page that starts with, "Instant Payment Notification (IPN)". It says:
An IPN (Instant Payment Notifications) is an HTTP POST message sent from the BitPay server to the merchants eCommerce server. The primary purpose of an IPN is to reconcile a BitPay payment transaction with the customer order status on the merchants eCommerce server. The BitPay server send IPNs for each invoice according to the setting within the invoice. The BitPay invoice payload has an IPN parameter called "fullNotifications".

You need to set certain variables when creating the invoice/button though so it knows where to notify when the payment is received. That is outlined further up in the documentation.

You could also use Cron to check the invoice status on a regular basis, but that is a much dirtier way to do it. The best way would be to use the IPN :)

Hope this helps!


Title: Re: Need some help with php and mysql
Post by: Miitch on September 18, 2014, 07:55:09 AM
How did you get on tvasconcelos?