Author

Topic: Paysius (Read 1469 times)

member
Activity: 89
Merit: 10
August 28, 2012, 08:56:19 AM
#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?
BCB
vip
Activity: 1078
Merit: 1002
BCJ
May 23, 2012, 08:13:47 PM
#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.
hero member
Activity: 742
Merit: 500
May 23, 2012, 07:50:56 PM
#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!  
sr. member
Activity: 316
Merit: 250
May 22, 2012, 08:44:34 PM
#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]
sr. member
Activity: 382
Merit: 253
May 22, 2012, 08:23:58 PM
#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.
hero member
Activity: 742
Merit: 500
May 22, 2012, 03: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.
hero member
Activity: 742
Merit: 500
May 22, 2012, 11:02:34 AM
#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?
Jump to: