Just wondered if you had given any thought to how a payment requirement could be combined with your reservation module. Ideally as the last step in the process, user would be required to make a paypal payment for the balance due for the tickets he has chosen, and the reservation would not be saved to the database unless the payment goes through. For example, is there a way to use simple_paypal module to do this?

Comments

twowheeler’s picture

I'm still hoping for some discussion of this issue. Seems like there are at least two ways to go about it. One is, write an interface to simple_paypal, say by adapting the code from the fee module. It would be a minimalist approach but would get the job done.

The other way is to write hooks that would make a reservation into a product type in the ecommerce module. Then we would have the very rich functionality of ecommerce available for handling payments on reservations. For me personally, there is a lot to learn about ecommerce so this is somewhat daunting.

Any suggestions?

maulwuff’s picture

sorry for being absent for such a long time.
The original plan was, to build in paypal-support. We had to drop this feature, because of time reasons. Right now, I have no clue at all to say, which would be the best way to go. I am sure, if I choose the paypal way, users want to have ecommerce support, and vice versa ;)

twowheeler’s picture

Welcome back and thanks for your answer. I am still interested in this, and started to look at how to link to the lm_paypal module. Do you expect to work on it again, or should I continue to hack at it? If I do it, would you be willing to accept a contribution to the project?

maulwuff’s picture

do you think lm_paypal is the way to go? I don't think it would fit from the given description. To pay via paypal you need 1 or 2 calls to handle. Do you have anything hacked up so far?
To answer your question, yes I intend to work on the module again. There is lots of potential in this module ;)

twowheeler’s picture

lm_paypal seems pretty simple so I think it can work. But no, to be honest I have not gotten very far so I am not losing much if you decide to go another way. I was mostly studying the code and deciding how to proceed. If you want help I will try to lend a hand. Thanks.

maulwuff’s picture

Status: Active » Fixed

I've added optional paypal support using lm_paypal now.
It is configurable to either show up or not after successful submission of an reservation.

It's optional because making a reservation is an other use case than buying something.

PayPal support will be available in beta4

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.