Bitcoin Forum
October 21, 2017, 07:39:14 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Paysius  (Read 1380 times)
bigbeninlondon
Hero Member
*****
Offline Offline

Activity: 728



View Profile
May 22, 2012, 04:02:34 PM
 #1

Hey All,

I'm trying to test out paysius before I put it on a working merchant site, but I'm having a hard time figuring it out.

I'm using PHP and cURL, but it appears that I can't connect to their server.  Here's the pertinent info:

I've got the CA.pem installed on my server next to this php
Code:
<?
$gate = "https://paysius.com:53135/api/getnewaddress"

$post_string = "qty=1&key=8GEb5x01u3&hmac=7c3a4c7c2f629942e90983c97db8bae160b822620d16484d1c758daa182421663c0f32c1be58084dcea0054e1eb0cef8e18b2b003841c0e5199193a8b2487d63"

   $curl = curl_init($gate);
   curl_setopt($curl, CURLOPT_PORT, '53135');
   curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
   curl_setopt($curl, CURLOPT_CAINFO, getcwd() . "/CA.pem");
   curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
   curl_setopt($curl, CURLOPT_FORBID_REUSE, TRUE);
   curl_setopt($curl, CURLOPT_FRESH_CONNECT, TRUE);
   curl_setopt($curl, CURLOPT_POST, TRUE);
   curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
   curl_setopt($curl, CURLOPT_POSTFIELDS, $post_string);

   $response = curl_exec($curl);
 
   if (curl_errno($curl))
      echo curl_errno($curl);
   else
      var_dump($response);
?>

However, I keep getting a cURL error 7, which tells me that it can't connect.  Anyone else use Paysius?  What am I missing?
1508614754
Hero Member
*
Offline Offline

Posts: 1508614754

View Profile Personal Message (Offline)

Ignore
1508614754
Reply with quote  #2

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

Activity: 728



View Profile
May 22, 2012, 08:09:32 PM
 #2

Bump - Anyone?  Anyone at all?  I would love to at least confirm whether or not Paysius api gates are up and running.
ShireSilver
Sr. Member
****
Offline Offline

Activity: 383



View Profile WWW
May 23, 2012, 01:23:58 AM
 #3

I got it working on my site ( http://shiresilver.com ) using a module I just had to install and configure. There was one purchase attempt that failed the other day (probably just a network glitch) but other than that its worked fine for me.

Shire Silver, a better bullion that fits in your wallet. Get some, now accepting bitcoin!
bearbones
Sr. Member
****
Offline Offline

Activity: 317



View Profile WWW
May 23, 2012, 01:44:34 AM
 #4

However, I keep getting a cURL error 7, which tells me that it can't connect.  Anyone else use Paysius?  What am I missing?

This error is almost always caused by your firewall. Can you establish outgoing TCP connections on port 53135? If not, you need to open up said port to https://paysius.com.

[EDIT]
not sure why I wrote coinapult.com the first time... long day
[/EDIT]

Feed Ze Birds Pay and get paid for tweets
Coinapult Send Bitcoins easily over email or text message
bigbeninlondon
Hero Member
*****
Offline Offline

Activity: 728



View Profile
May 24, 2012, 12:50:56 AM
 #5

bearbones thanks!  Turns out HostGator automatically closes all of the ports that are not in use and requires you to request to open specific ports on demand.

Everything is working GREAT now!  
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1036


BCJ


View Profile
May 24, 2012, 01:13:47 AM
 #6

You don't need"

   curl_setopt($curl, CURLOPT_POST, TRUE);

if you are setting:

   curl_setopt($curl, CURLOPT_POSTFIELDS, $post_string);

It's redundant.
gigantic
Member
**
Offline Offline

Activity: 90



View Profile
August 28, 2012, 01:56:19 PM
 #7

thanks for the info,

another question-

let's say i got 5 orders, and i can see 3 of the orders on paysius- paid, and i am using Magento, how will i know from which of the 5 costumers, which one paid ?
how do i link the payment on paysius to the costumers on Magento?
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!