Bitcoin Forum
December 09, 2016, 12:14:42 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: PayPal Replacement?  (Read 2306 times)
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 05, 2011, 05:54:30 PM
 #1

Is there any service that exists that does what PayPal does right i.e. provides a payment API, transaction notifications, cart integration, "buy now" buttons and also keeps the BTC pegged to USD/SEK/whatever at current market prices?

I've searched around but I've had no luck.
1481242482
Hero Member
*
Offline Offline

Posts: 1481242482

View Profile Personal Message (Offline)

Ignore
1481242482
Reply with quote  #2

1481242482
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
May 05, 2011, 06:14:01 PM
 #2

Mybitcoin does that stuff, I believe.
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 06, 2011, 06:40:14 PM
 #3

I'm not having much luck using their service. I'm not getting a response to my questions and there's no documentation on using the payment links. I need to have the customer's email address passed along to me with the call to the successful payment URL but I don't see how that can be done.
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 06, 2011, 07:40:23 PM
 #4

There's a way you can kind of hack some information into a payment button, but it's sort of ugly.

First, go to this page: https://www.mybitcoin.com/login/merchant-tools.php
Enter an amount, and choose U.S. dollars. This allows MyBitcoin to handle the exchange rate.
Enter anything in the "payment note" field.
uncheck the "encrypt URI" option.

Creating the button now gives you the following code:

Code:
<form action="https://www.mybitcoin.com/sci/paypage.php" method="post" target="_blank">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="payee_bcaddr" value="1BEw6WXxmNHAjHA3JhbozBmUJorjzu9jCX">
<input type="hidden" name="payee_name" value="bitcoin2cash">
<input type="hidden" name="note" value="asfdsaf">
<input type="hidden" name="success_url" value="http://example.com/receivedpayment.php">
<input type="submit" name="submit" value="Purchase with Bitcoin">
</form>

Now, you can do a couple of different things. Any of those input type="hidden" fields can be changed to a text box, so the user can enter a value. Alternatively, you keep those values hidden but dynamically fill them from some source, like a database.

A simple example...

Code:
<form action="https://www.mybitcoin.com/sci/paypage.php" method="post" target="_blank">
<input type="textbox" name="amount">
<select name="currency"><option>USD</option><option>BTC</option></select>
<input type="hidden" name="payee_bcaddr" value="1BEw6WXxmNHAjHA3JhbozBmUJorjzu9jCX">
<input type="hidden" name="payee_name" value="bitcoin2cash">
<input type="textbox" name="note" value="Customer email address here...">
<input type="hidden" name="success_url" value="http://example.com/receivedpayment.php">
<input type="submit" name="submit" value="Purchase with Bitcoin">
</form>

gives you something like this:



edit... I'm actually not sure what information MyBitcoin posts back to the success_url, but I assume it has the "note" data in it.
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 06, 2011, 07:53:04 PM
 #5

The problem with that is that now anyone can see the successful payment URL. I know I can block access based on IP but I'm not too crazy about exposing my backend to my customers (that sounded dirty).

Thanks for your help though. I'll see if I can make this work.
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 07, 2011, 05:54:38 PM
 #6

Alright, after some testing, it turns out that the "Payment Success URL" is really just a URL that the user is redirected to after payment. I thought it was a URL that would be called by the mybitcoin.com server to inform my system of a successful payment. This doesn't work for me since I need a URL to be called that informs me of a successful payment by the mybitcoin.com server so that I can add my customer to the database.

Is there any other service that does this?
Herodes
Hero Member
*****
Offline Offline

Activity: 868


View Profile
May 07, 2011, 05:55:35 PM
 #7

Dwolla.com if you're in the us.
error
Hero Member
*****
Offline Offline

Activity: 574



View Profile
May 07, 2011, 06:03:24 PM
 #8

Alright, after some testing, it turns out that the "Payment Success URL" is really just a URL that the user is redirected to after payment. I thought it was a URL that would be called by the mybitcoin.com server to inform my system of a successful payment. This doesn't work for me since I need a URL to be called that informs me of a successful payment by the mybitcoin.com server so that I can add my customer to the database.

Is there any other service that does this?

MyBitcoin is perfectly capable of doing this; you just have to actually set it up. Didn't you see the SCI Payment Automation Key and SCI Receipt URL? Sample code was also included.

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
May 07, 2011, 06:21:20 PM
 #9

MyBitcoin is perfectly capable of doing this; you just have to actually set it up. Didn't you see the SCI Payment Automation Key and SCI Receipt URL? Sample code was also included.

Yes I did see that, downloaded it and read the README but there's little explanation given so I just thought that was for using a shopping cart, which I don't need. I'll check it out again. Thanks.

By the way, do you know if the interface will pass the payment note, etc to the URL? The lack of documentation really makes this a guessing game.
Herodes
Hero Member
*****
Offline Offline

Activity: 868


View Profile
May 12, 2011, 12:49:14 AM
 #10

Look into dwolla, but that's most likely just for the us market?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!