SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

First Time with Firstspot, cannot start.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Wed Jun 22, 2011 6:04 pm    
Post subject:

Just for clarification:

I'm running VMWare ESXi on a Quad Opteron 32GB RAM HP Server
I'm using an Intel Pro/1000mt Dual Gigabit 82546EB NIC Card
I have each RJ45 on its own dedicated vSwitch

My VM is:

Windows 2008 Enterprise Server x86 SP2
16GB RAM
120GB HD

Please let me know if this is satisfactory, or if I should make any changes in the VM.
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Wed Jun 22, 2011 6:14 pm    
Post subject:

This looks fine. Please also check out http://patronsoft.com/forum/viewtopic.php?t=2692 for multi-core issue.
_________________
~ Patronsoft Limited ~
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Wed Jun 22, 2011 6:22 pm    
Post subject:

I will keep that in mind if I run into any issues.

Thank you
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Thu Jun 23, 2011 4:39 pm    
Post subject:

I have another question.

Can I setup FirstSpot to use more than 1 payment gateway?
Can I setup FirstSpot to use the same payment gateway, but multiple Merchant accounts?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Thu Jun 23, 2011 6:02 pm    
Post subject:

You can only use 1 payment gateway. So you plan to use PayPal?
_________________
~ Patronsoft Limited ~
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Thu Jun 23, 2011 6:06 pm    
Post subject:

Yes I plan to use Paypal, but they require different accounts for Micropayments and Macropayments

I would use Micropayments for any transaction below $12
I would use Macropayments for any transaction above $12

https://www.paypalobjects.com/IntegrationCenter/ic_micropayments.html
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Fri Jun 24, 2011 1:25 am    
Post subject:

Is it possible to have 2 different Merchant accounts through paypal tied into FirstSpot?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Jun 24, 2011 6:03 am    
Post subject:

Currently, FirstSpot supports only one merchant account at a time.

So you want to use different PayPal account based the purchased amount? The idea is that we need to customize ppal_ipn.php and paypal_submit.php and select the correct PayPal account based on a criteria (e.g. amount).
_________________
~ Patronsoft Limited ~
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Fri Jun 24, 2011 12:55 pm    
Post subject:

Yes

With the standard macropayment paypal the fee is ~2.9% + $0.30
With a micropayment of $1 that would be $0.33 or a 33% fee
With the standard micropayment paypal the fee is ~5% + $0.05
With a micropayment of $1 that would be $0.10 or a 10% fee

If you had 100 customers purchasing 5 hours each 1 hour at a time over the period of 1 month that would be a cost savings of $115

I would like to offer hourly, daily, weekly, biweekly, and monthly rates.

Do you provide php customization on a consulting basis or are there instructions for php customization?

Thank you
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Jun 24, 2011 3:38 pm    
Post subject:

We do both. If have simple criteria, we can instruct how to customize. Or we can do the customization a paid project for you.

So what is the exact criteria for selecting each account? Can we just go by the payment amount?
_________________
~ Patronsoft Limited ~
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Fri Jun 24, 2011 3:46 pm    
Post subject:

Absolutely,

If the payment is $11.99 or below, we could statically assign it to point to the micropayment account.

If the payment is $12 or above, we would statically assign it to point to the macropayment account.

Thanks again for your assistance, so far with testing, things are well. I will be reading the manual over the weekend.
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Mon Jun 27, 2011 12:12 pm    
Post subject:

1) First, make sure you set the default as micropayment account under Configuration Manager -> Credit Card. Make sure everything works okay first.

2) In ppal_ipn.php

Find

Code:
$log .= date('l dS \of F Y h:i:s A')." - Incorrect reciever_email\r\n";
$valid_txn = false;


Replace

Code:
// hard code macropayment account
  $receiver_email2 = "your_macropayment_account@your_email.com";
  $tmp_cal_amount = 0;
 
  if (isset($_POST["tax"]) && $_POST["tax"] > 0) {
   $tmp_cal_amount = $_POST["mc_gross"] - $_POST["tax"];
  } else {
   $tmp_cal_amount = $_POST["mc_gross"];
  }
  if (isset($_POST["shipping"]) && $_POST["shipping"] > 0) {
   $tmp_cal_amount = $tmp_cal_amount - $_POST["shipping"];
  }
 
  if ($tmp_cal_amount < 12 || (isset($_POST["txn_type"]) && strcmp($_POST["txn_type"], "cart")!=0 && isset($_POST["receiver_email"]) && strcmp ($_POST["receiver_email"], $receiver_email2) != 0)){
   $log .= date('l dS \of F Y h:i:s A')." - Incorrect reciever_email\r\n";
   $valid_txn = false;
  }


3) In paypal_submit.php

Find

Code:
$postfields['business'] = $id;


Replace

Code:
$postfields['business'] = $id;
if ($cart_item_arr['amount'] >= 12){
      // hard code macropayment account
      $postfields['business'] = "your_macropayment_account@your_email.com";
}

_________________
~ Patronsoft Limited ~
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Tue Jun 28, 2011 3:15 pm    
Post subject:

Just an FYI, it takes approx 2 business days to transfer a paypal account to a paypal micropayment account, so I'm waiting on that until I continue.
Back to top
BMWGuinness



Joined: 28 Apr 2011
Posts: 18

PostPosted: Wed Jun 29, 2011 3:21 pm    
Post subject:

Alan,

I restarted my server today to install Windows Updates.

Upon login, the FirstSpot Status was STOPPED.

Which Services must I ensure be "Automatic" and "Started" for Firstspot to be Started and Running upon boot?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Wed Jun 29, 2011 4:16 pm    
Post subject:

You need to make "PatronSoft FirstSpot Dispatcher" service as automatic.

Refer to readme.rtf -> Other issues -> point 5 for more information
_________________
~ Patronsoft Limited ~
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group