Bitcoin Forum
May 14, 2024, 12:57:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Services / Need Help Implementing Either Blockchain.info or Block.IO API on: January 02, 2015, 06:12:04 PM
I have been using the blockchain.info API for some time. Mostly it worked with occasional issues. Now it is not working at all and I cannot figure out why. Open to someone either fixing it or switching my site to Block.IO api. My site is built in wordpress and utilizes a modified version of an encrypted form plugin so you should know PHP.  My site deals with medical marijuana so if you are not friendly to that don't resopond. Need someone to fix this ASAP!! Willing to pay $50/hour (in bitcoin of course)

thanks,
cb

ps when contacting me please include your email and public pgp key
2  Economy / Service Discussion / Blockchain.info Merchant API not Working Properly? on: September 01, 2014, 10:10:22 PM
I am using the blockchain api to generate wallet addresses. The bitcoins from my customers are then routed to my main wallet. It seems to be running really really slowly. For testing I did two purchases almost 24 hours ago and they still have not shown up. Anyone else experiencing issues?
3  Bitcoin / Development & Technical Discussion / Blockchain API Simple PHP Problem - .03 bitcoin reward on: March 27, 2014, 04:00:23 PM
edit: thanks for the advice all but I was looking for the actual code. Just hired someone on fiverr to write it. the curl and other extraneous code was from previous attempts.


Hey all. I don't know much about php but have been trying to get this api script working. This is the callback script which is supposed to send two letters after bitcoin has been sent with one confirmation: one to me and one to the customer. I am having a hard time getting this to send an email after just one confirmation. If I take this part out: "if ($_GET['confirmations'] == 1)" then it will send me emails every hour with different confirmation amounts. But if I put this qualifier in it sends me nothing. I am guessing that maybe when the script is kicks in the number of confirmations might be over 1 already? How do I solve this to get the script to send just one email after one confirmation? First person to reply with fix and their wallet address gets reward.


<?php

/**
 * Callback endpoint for the Blockchain Receive API.
 *
 * Notifies the administrator when a watched address has a new transaction.
 */

if ($_GET['confirmations'] < 1) {
  die('Waiting for 1 notification.');
}



$to = 'marley4567@gmail.com';
$subject = 'New transaction through Blockchain API';

$message = 'There is a new transaction detected by the Blockchain API.' . "\r\n\r\n";
$message .= 'Amount:           ' . sprintf('%02.8f', ($_GET['value'] / 100000000)) . ' BTC'. "\r\n";
$message .= 'Address:          ' . $_GET['input_address'] . "\r\n";
$message .= 'Confirmations:    ' . $_GET['confirmations'] . "\r\n";
$message .= 'Track:            http://blockchain.info/tx/' . $_GET['transaction_hash'] . "\r\n";
$message .= 'Customer\'s email: ' . $_GET['email'] . "\r\n";
$headers = 'From: "Blockchain API endpoint" <noreply@noreply.com>';

$fields = array(
  'to' => $to,
  'subject' => $subject,
  'message' => $message,
  'headers' => $headers,
);

$postvars = http_build_query($fields);

if ($_GET['confirmations'] == 1) {
   mail($to, $subject, $message, $headers);
}


curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postvars);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);

$res = curl_exec($ch);

if ($res == 'ok') {
  echo '*ok*';
}
else {
  echo 'Mail not sent!';
  echo $res;
}

if (isset($_GET['email'])) {
  $to = $_GET['email'];
  $subject = 'Payment Verification';
  $message = 'This is an automatic notification that I have received a payment for your order.' . "\r\n\r\n";
  $message .= 'Your item should arrive in the mail within a week.';
  $headers = 'From: "Marley" <marley4567@gmail.com>';
 
  $fields = array(
    'to' => $to,
    'subject' => $subject,
    'message' => $message,
    'headers' => $headers,
  );

  $postvars = http_build_query($fields);

if ($_GET['confirmations'] == 1) {
   mail($to, $subject, $message, $headers);
}


  curl_setopt($ch, CURLOPT_POST, TRUE);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $postvars);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  curl_setopt($ch, CURLOPT_HEADER, FALSE);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);

  $res = curl_exec($ch);
}
4  Economy / Services / Looking for a Custom Theme for a Wordpress Site on: November 16, 2013, 05:31:58 AM
You don't need to do any of the page layout, technical or other wordpress setup work. I just need a new fresh overall look. This is for a marijuana based site so if you're not into that then don't apply. :-)   Post here or PM samples of wordpress custom themes you have made. If I like your work I'll contact you and we can talk about price.  I am looking for something earthy and natural looking. Thanks.
5  Economy / Services / Two Small PHP fixes - Will Pay .5btc on: September 24, 2013, 04:51:51 AM
I recently installled the wordpress plugin wp2pgpmail.com   http://wp2pgpmail.com/
It is a pretty simple plugin and mostly consists of one php file: http://pastebin.com/01sLdyxJ

I need two small modifications:

1) The email "from" field arrives as "encrypted data". The email field itself decrypts within the message body but the "from" field of the email is encrypted so I can't just hit reply. I have to copy and paste the email from the message body. I would like the "from" field of the email to not be encrypted

2) I would like to strip out all of the form field names from emails so just the data comes in.

Will pay .25 bitcoin for each task. Do one or both of them. If you need the other files let me know but theres not much...just some javascript that does the encryption. This file does all the emailing work.
6  Economy / Services / Need a Form that Encrypts on: May 13, 2013, 02:53:32 PM
I need a form that encrypts like the one here: http://medicineman.6te.net
This form uses the javascript based hanewin encryption system and does not work on many browsers/platforms. I need something that works on at least most browsers/platforms. I also need to be able to swap out the public keys in the code. PM if you're interested and include a quote.

thanks!
cb
7  Economy / Trading Discussion / Any Exchanges that allow Anonymity? on: March 30, 2013, 12:42:33 AM
Right now I am using blockchain.info for a wallet. I love the ease and features of it. However I'd like to keep some of my coin in an exchange so I can swap it out if prices start falling or whatnot. Many people have told me that mt gox can suddenly require ID for withdrawing. Can anyone recommend an exchange that openly states that they allow anonymity?

Thanks!
cb
8  Economy / Trading Discussion / Trying to Understand Aurum Exchange on: March 29, 2013, 04:35:43 AM
I need to pay someone in Liberty Reserve. I have bitcoin. I found aurumexchange and went to their exchange page. For every one bitcoin that I pay it is saying that I will get one liberty reserve. See this screenshot: http://imgur.com/R7JHVqE

Now maybe I'm missing something here but I am pretty sure liberty reserved is not pegged to whatever price bitcoin happens to be. Can anyone explain this to me? I want to pay someone the equivalent of $200 in liberty reserve. What (approximately) should I put in for bitcoin? I'd expect 2+ at the current rate, but will I get the the equivalent of $200 in liberty reserve?

thanks,
cb
9  Economy / Service Discussion / Why Isn't Bitmit more popular? on: March 27, 2013, 08:07:14 PM
I go to bitmit a lot mostly to convert btc into gift cards, amazon cards etc. The escrow system works well and all my transactions have gone smoothly (except about 20% I get no response from so I get my coin back). I do sometimes look around at other things, but I am always surprised at the lack of items being sold on there. It's mostly the same stuff over and over. Wondering why there is not more action over there as there is really no competition for an ebay like site. Any idea?
10  Bitcoin / Electrum / Moving the wallet.dat file on: March 10, 2013, 01:46:28 AM
I've installed electrum on a truecrypt disk. However it is still putting the wallet on the unecrypted c drive. Is there any way to put this on the encrypted drive too?
-cb
11  Economy / Currency exchange / Looking for Steady Bitcoins for Moneypak Trade on: March 05, 2013, 07:45:49 PM
In my biz, I get moneypak refills and would like to accept more of them. Looking for someone who needs moneypak regularly and can exchange for btc on a regular basis. All moneypaks will be freshly bought with cash and fully legit. I need:

1) A reasonable exchange rate
2) Quick turnaround within 24 hours
3) Someone with an established rep
4) Can handle quantity...think thousands of USD per day. Less to start but will grow fast

If you're interested in discussing this, PM me.

-cb
12  Alternate cryptocurrencies / Altcoin Discussion / Ripple's Gone? on: March 04, 2013, 05:03:48 AM
Got 50,000 in the giveaway. Now I logged in and have a 0 balance. When I click history it says that I am offline. wtf?

-cb
13  Economy / Services / Looking for a Javascripted Encrypted Form with Basic Calculation on: January 21, 2013, 11:18:30 PM
Hello...I am seeking a *very* simple javascript based shopping cart that can be encrypted before emailed.
I say shopping cart but do not need most shopping cart functions.  What I need is:

- For each product: Product Image, Product Title, Product Description, Product Cost.  I know html/xml so I should be able to add/edit products using one of these.
- Next to each product will be a quantity box. When user inputs a quantity the total for that product will show up next to it.
- At the bottom will be a total cost for all ordered products.
- There will be a place for name, address and comments.
- Whole thing should be encrypted before emailing (preferably using http://www.hanewin.net/encrypt/PGencode.htm as I can swap in new keys easily)
- No database...I want the whole thing with any related program files to fit in one folder.

I can supply an HTML example for the front end.

If you're interested please give me an estimate. Or questions if you have them.
Thanks!

-cosmicboy
14  Other / Beginners & Help / New Bitinstant OFAC Rule on: November 07, 2012, 07:51:32 PM
Saw that bitinstant is once again sending coins directly to BTC account. You are now required to put your name and DOB, but I don't understand how this can mean anything...if you were a terrorist/criminal, couldn't you just put a fake name and DOB? Or put someone elses name and DOB? This is certainly not any kind of legal evidence....I suppose they have to follow the law, no matter how silly, but really do they expect this law to actually do anything?

-cb
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!