multiple select of transfer types in the transfer page

Any issue about installation and configuration of the Cyclos software

Moderators: hugo, alexandre, rmvanarkel

Post Reply
cycloshost
Posts: 578
Joined: Mon Jan 30, 2012 8:12 am
Contact:

multiple select of transfer types in the transfer page

Post by cycloshost »

Hi,

we want to explore the customization of the payment and the confPayment pages in order to allow multiple payment types to a single member in one transaction. For example we thought of using a multiple select for the transfer types instead a select. Is this feasible editing just the jsp file?

We have activated the transaction numbers in Cyclos. Can for example 2 transactions have the same transaction number or this field must be unique in the database?
cycloshost.com
Cyclos administration and hosting

luis
Posts: 185
Joined: Fri Feb 17, 2006 11:01 am

Re: multiple select of transfer types in the transfer page

Post by luis »

acampadaleipzig wrote:we want to explore the customization of the payment and the confPayment pages in order to allow multiple payment types to a single member in one transaction. For example we thought of using a multiple select for the transfer types instead a select. Is this feasible editing just the jsp file?
No, it is not even remotely possible to do that in jsps. There are some heavy processing on the server side.
acampadaleipzig wrote:We have activated the transaction numbers in Cyclos. Can for example 2 transactions have the same transaction number or this field must be unique in the database?
The transaction number is generated from the generated transfer id (so, never in practice 2 transfers will have the same number), but there is no unique constraint on the DB.
Luis Fernando Planella Gonzalez
Cyclos development team

cycloshost
Posts: 578
Joined: Mon Jan 30, 2012 8:12 am
Contact:

Re: multiple select of transfer types in the transfer page

Post by cycloshost »

Thanks for the answer.

Did you detect this need before? Our experience is that "real-life" transactions are usually not fully payed in complementary currency, but partly in complementary currency and the partly in local currency, and the complementary currency percentage grows as the system has more users.

For example a car can be sold for 800€ + 200units. It would be quite natural that people can pay in a single transaction 800€ that would go to the account in € and 200units that would go to the account in complementary currency. Now these two transactions must be made separately with the consequent problems (maybe the one transaction is accepted and the other not due to available balance).

From the interface point of view the solution seems to be quite easy, just allowing multiple select and more than one amount box maintaining an unique destination, description and transfer id and then checking that all the transactions have enough funds. However, we do not have yet the deep understanding of Cyclos to estimate the programming effort to be done.
cycloshost.com
Cyclos administration and hosting

admin
Site Admin
Posts: 1422
Joined: Mon Jan 24, 2005 10:31 am

Re: multiple select of transfer types in the transfer page

Post by admin »

Hi,

We did not received this feature request before.
I would mean quite some work. You could send a detailed proposal. In that case we could put it on the wishlist for a future version. This will be however not be earlier than 2013.

cycloshost
Posts: 578
Joined: Mon Jan 30, 2012 8:12 am
Contact:

Re: multiple select of transfer types in the transfer page

Post by cycloshost »

We thought carefully about the multiple payment. In our opinion, it should be implemented in a separate jsp, for example multiplePayment.jsp

In the payment.jsp the currency option is a select. Our propose would be to have a multiple selection from the currencies available. Even we would propose to have a multiple selection from the transactions available in each currency.

Of course, for each transaction it would be necessary to fill the corresponding custom fields for the transactions selected.

The field description would be global for the multiple transaction. When making the payment, the system would check that there are funds enough in each of the accounts involved in the multiple transfer so the payment is not accepted when one or more transactions cannot be performed. If all the accounts have enough saldo, the multiple transction is performed and ideally assigned a unique transaction number.

Maybe it is problematic how to show these types of transaction in the account overview. We propose that each transaction is showed separately in the corresponding account and the detail takes to the multiple transaction detail.
cycloshost.com
Cyclos administration and hosting

Post Reply