Can customer enter payment amount?

Posts: 8
Joined: 11/26/2007

Hi all Smiling

Is the following a capability of Ubercart:

1. Customer logs into their account
2. Customer clicks on a product named: Make a Payment
2. Customer enters a payment amount that we have agreed on
3. Then goes to checkout and that amount is carried through the paymnet process

Sometimes I have a service that is different from standard pricing on products and would like customer to just enter an amount taht we have agreed on.

Thanks and I look forward to any responses!

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

As of yet, we don't have a flexible payment terminal like this. As more and more people use Ubercart to sell services (ourselves included), this is definitely on the to-do list for the next version. It can always start out as a contrib module that gets folded into core, too!

Posts: 8
Joined: 11/26/2007

Thanks Ryan. When you say that this is on to-do-list for next version, are you thinking Beta 8 and is there a projected time for this?

I guess for now I will just put in a product for each user as I create an account for them with the exact amount that they owe.

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Next version was actually looking forward to Ubercart 2.0. Sad Someone could do something like this in a contrib module between now and then, though.

Posts: 30
Joined: 04/23/2008

A temporary solution is to create a product called for example "Make Payment" with a sell price of 1.0.

The quantity field will be used by the customer as the amount you've agreed upon. So lets say you agreed $500, then user will just enter a quantity of 500.

Then product will got to cart, checkout etc as per normal workflow.

Posts: 3898
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Something a little more intuitive for your customers may be the donation contrib posted by greenSkin. It rocks. Smiling It lets you enter an amount for a donation, making it easy to have a product with a dynamic price that you can even update in the cart view form!

Posts: 275
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Another option would be to combine two contribs, Attribute Tokens and Custom Price Calculation.
You'd probably hide the sell and display price fields for the product and then setup an attribute field called 'payment amount' as a text field. The custom price code would set the product price to the price entered in that attribute field like...

$item->price = [payment amount];

although you'd probably also want to add validation.