Forums / Setup & design / Arbitrary prices
Claudia Kosny
Wednesday 20 September 2006 1:55:41 pm
Hello there
I am working on a site whether the customer has an account with a certain amount of money on it. The customer should be able to increase his account balance by an arbitrary amount of money and I am looking for a way to this.
The only idea I have right now is to give a customer the option to change the price of a product and then buy this product. Unfortunately I can see major problems with this approach when lots of people try to change the same object at the same time. Also someone might change the products between the time the customer decides on the amount of money and the time he pays.So I think the question is whether there is way to call upon a payment gateway without using the usual way of buying a product. As I do not have much experience with payment gateways at all I appreciate some tips on how to proceed.
Greetings from Luxembourg
Claudia
Andreas Kaiser
Thursday 21 September 2006 7:32:06 am
Don't know if this is possible: but perhaps you could create a "price" datatype inside the costumer/user class, and send the amount of this datatype to the payment gateway. So the amount would be unique for every user.
eZ Partner in Madrid (Spain) Web: http://www.atela.net/
Friday 22 September 2006 2:05:25 am
Hello Andreas
This is a good idea, I will try this. Thanks