3 replies [Last post]
Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Was this information Helpful?

Ok, I just need to add another "ajax drop down" payment option to my checkout process, right alongside the "credit card" that's available right now.

I just need it to do this:

- display a radio box to check it as a payment option (instead of the default Credit Card one)
- when checked, use that fancy ajax drop down to display a single text input field to capture a 20 character long string
- when the order is reviewed, the string is displayed on the review order page
- after submitting the order, all I need to do is to store that custom input string along with the order (in the archive) so that the admin can review it, match it with an existing offline database and process the payment manually.

So basically, how do I create a checkout option that doesn't validate anything, just accepts a string and stores it with the order for the admin to view?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Simple payment module option - how?

I'd just use the PO module I contributed, rename the module, and rename the strings in there you need to change to get it working for you. It basically does the exact same thing. Smiling

http://www.ubercart.org/contrib/640

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Simple payment module option - how?

Ryan, that's pretty much THE EXACT module I was looking for... jesus, this is nuts - whatever I ask for, it's already been done.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Simple payment module option - how?

I've been trying to keep this under wraps, but I'll let you guys in on it... I can read minds, but only in the future. I have no clue what you're thinking right now, but wait till you see what I've got in store for you tomorrow!

Cool