4 replies [Last post]
jugney's picture
Offline
Joined: 06/03/2008
Juice: 202
Was this information Helpful?

I searched for the answer to this, but couldn't find one. A client has a MIVA store, and plans to switch to Ubercart in the future. They mostly sell MP3's, and the current store doesn't have a process for automatically sending the file to a customer. Thus they're manually fulfilling all these orders and wasting a lot of time!

It will be a little while before they can do a full switch to an Ubercart store, however, their fulfillment guys are getting bogged down with other things now and would like to know if I can set up an interim solution for them. It would look like this:

-An MP3 order is placed in the current store
-Recognizing the order contains an MP3 product, that order is communicated to the Ubercart store
-Ubercart does its usual thing to fulfill file orders - sends the person an email with a link. Ideally, they would not receive an Ubercart receipt, since they would have already gotten a MIVA receipt.

Thanks,
Jugney

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Processing orders placed on another store

You should be able to write a module for your Drupal site which implements a web service as a menu callback. The callback would programmatically create an order (and a user account for your customer) and set the status to payment received. You will also need to write a function on the Miva side to POST the order data to the web service when the Miva receives the payment. I suggest using HTTPS and passing a shared secret to the web service so that a random person can't just hit the service and get a free file download.

<tr>.
jugney's picture
Offline
Joined: 06/03/2008
Juice: 202
Re: Processing orders placed on another store

Thanks for the feedback. I'm not so technically advanced in Drupal/Ubercart yet as to be able to write modules. Any idea how much time this would take for someone who knew what they were doing?

jugney's picture
Offline
Joined: 06/03/2008
Juice: 202
Re: Processing orders placed on another store

bumpity bump

jugney's picture
Offline
Joined: 06/03/2008
Juice: 202
Re: Re: Processing orders placed on another store

I'll just try one more time - would this be a quick modification or would it take awhile?