Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: scrub07 on July 20, 2015, 03:31:43 PM



Title: Payment Request Generator not signing properly?
Post by: scrub07 on July 20, 2015, 03:31:43 PM
I'm playing with BIP70 payment requests, but I can't get them to sign properly. The Bitcoin Core client (v0.11.0) only ever shows the bitcoin address, never details from the certificate.

I thought I must be doing something wrong, then I tried with Gavin's Handy-Dandy payment request generator at https://bitcoincore.org/~gavin/createpaymentrequest.php but I can't get a payment request that shows anything other than the receiving address in the Bitcoin Core client from there either.

Is there something wrong with the requests, or is Bitcoin Core not showing them properly, or am I just being dumb?


 


Title: Re: Payment Request Generator not signing properly?
Post by: fbueller on July 23, 2015, 10:47:21 AM
It should say that it's fetching the request from the domain at the very least. Otherwise, maybe the certificate has expired, which may mean no extra details are verified? I'll try this now.. Are you writing a payment page, or an app to scan them?


Title: Re: Payment Request Generator not signing properly?
Post by: scrub07 on July 23, 2015, 12:30:20 PM
I was experimenting with writing a payment page using as a basis the PHP code sample from Gavin.

I'm sure my certificate has not expired, as I only bought it a couple of days ago (an SSL web site certificate). Of course I might be loading the certificate chain wrongly or something, which is what I first assumed, but when I tried the handy dandy payment generator I couldn't get anything other than a bitcoin address from that either.

I also determined that the Android testnet client won't accept them either.

Thanks for your interest!