LemonStand Forum: Payment Module that uses FTP - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Payment Module that uses FTP

#1 User is offline   pixelsailor 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 08-January 12
  • LocationTexas

Posted 01 February 2012 - 09:48 PM

My client is using an eCheck solution that processes payments by bundling all the order data into a CSV and then uploading it to a server via FTP. I've been working for a couple days trying to get this to work and I feel like I'm in way over my head at this point. I thought it would be simple. The whole thing seemed straightforward enough. I've followed the tutorials on LS for creating payment modules but neither solution, server-to-server or redirection, seems to be suitable. I've gotten as far as collecting all the data in an array and outputing that to a text file (at least I hope that part works). Then it should be sent via FTP when the customer clicks Submit on the Pay page but when I do so I get an error that says $host isn't defined as in the $host variable used here:
public function build_config_ui($host, $context = null) {}


The admin portion works. I can select the payment method and fill in the fields to save obviously. I can choose it as a payment method at checkout, but every time I pay it fails for some reason or another.

Is there anyone that's dealt with a similar payment method or has any thoughts as to how to successfully implement this? I'm at my wit's end here and I'm already behind schedule.

Ben
0

#2 User is offline   pixelsailor 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 08-January 12
  • LocationTexas

Posted 02 February 2012 - 12:31 AM

Disregard. Rewrote what I had done before. Must have been a typo somewhere or in one of the chunks I've opted not to use any longer.
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users