Author Topic: Create a new payment module - SHOP.COM style  (Read 1602 times)

0 Members and 1 Guest are viewing this topic.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Create a new payment module - SHOP.COM style
« Reply #6 on: July 11, 2008, 09:44:59 AM »
I am a bit curious about how this works with shop.com.  Can you expand on that?

David

leeburstroghm

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
  • Karma: 1
    • View Profile
Re: Create a new payment module - SHOP.COM style
« Reply #5 on: July 10, 2008, 01:42:54 PM »
Yea, I just modified the authorize.net module and created my own, it is working.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Creat a new payment module SHOP.COM style
« Reply #4 on: July 10, 2008, 11:29:07 AM »
Yes, it does. 

What you need is to create a completely new payment module.  The use of XML does not make this process any different accept in the specifics of the implementation of the before_process() method where the post is created and should be executed.

There are a number of modules which separate parts of this process out to another file (Authorize.net et al), but this should not be necessary.


David


This was not my question..!!!

Forget Shop.com.

I need to gather order information and send it via https:post as xml dta to an external server for processing.

so the cart contents, and cc information all get sent in the xml formated post..

does this make more sense?

leeburstroghm

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
  • Karma: 1
    • View Profile
Re: Creat a ne payment module SHOP.COM style
« Reply #3 on: June 26, 2008, 12:52:38 PM »
This was not my question..!!!

Forget Shop.com.

I need to gather order information and send it via https:post as xml dta to an external server for processing.

so the cart contents, and cc information all get sent in the xml formated post..

does this make more sense?

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Create a new payment module SHOP.COM style
« Reply #2 on: June 26, 2008, 12:48:55 PM »
The short answer is no.

Unless shop.com is providing payment services, this is probably a rather inappropriate way to manage shop.com services.

A checkout success module might be more helpful, but it only offers one shot at processing and if your payment is not complete posting to shop.com may not be a good thing.

If you want to take that chance, the shipwire module may be the start  for which you are looking.

If you would like to implement something  more robust, this would be an opportunity to work with the Eos development team as we have some plans in that direction which would fit well with your needs.

David




leeburstroghm

  • Newbie
  • *
  • Offline Offline
  • Posts: 8
  • Karma: 1
    • View Profile
Create a new payment module - SHOP.COM style
« Reply #1 on: June 26, 2008, 12:24:56 PM »
My client already has a shop.com interface setup on his server..

For those not familiar with shop.com, it takes orders and information, then sends that order info to the server of the suppier for actual processing, via https post of XML data..

I need to do this EXACT same thing with CRE loaded.. to gather order information and cart contents and send it via XML to the suppliers server..

Is there any payment module that creates XML data that I could manipulate to make this shop.com kind of payment method??


« Last Edit: June 26, 2008, 12:53:22 PM by leeburstroghm »