Hi Francisco, i'm using drupal rooms with your cielo payment module. On completed check-out only creates the order but not the room availability update and the booking. The same process using example payment works fine. Can you help me how make this work.
Oi Francsico, estou usando drupal rooms com o seu modulo de pagamento cielo. Quando o check-out é completo cria o pedido, mas não atualiza o calendario de reservas nem a reserva. O pagamento de exemplo funciona bem. Não tenho certeza qual modulo é responsável pelo correto funcionamento do porcesso, commerce, rooms ou cielo? Favor me dê uma luz.

CommentFileSizeAuthor
#3 cielo-payment.jpg22.85 KBrovi
#3 example-payment.jpg38.49 KBrovi
#3 payment.jpg51.17 KBrovi

Comments

FranciscoLuz’s picture

Status: Active » Postponed (maintainer needs more info)

Hi rovi,

I am having trouble managing a spare time to try reproducing this issue. It would help a lot if you could provide more information about the steps you took and what is the payment status after the order has been concluded.

rovi’s picture

Hi Francisco, thanks for your reply. I'm working on other project but soon i will send you more infos about.

rovi’s picture

StatusFileSize
new51.17 KB
new38.49 KB
new22.85 KB

Hi Francisco,
I've installed commerce + rooms. Using the example payment in checkout on the checkout pane displays "Room Availability updated" (see attached example-payment.jpg) but using Cielo checkout (on mercands site or on Cielo site) on the checkout pane not show "Room Availability updated" (see attached cielo-payment.jpg). The order and payment in commerce is ok, but rooms not update the room availability (booking the room on the avalability calendar) and not trying to send the email. The payment seems to be ok. (see attached payment.jpg)

FranciscoLuz’s picture

This issue will require some time to look into the Rooms availability handler's code.

For now I have only a guess, I think it has something to do with the updating of the Order Status which then triggers the Rooms availability handler.

The Example Payment perhaps is updating not only the Payment Transaction Status but the Order Status as well. The Commerce Cielo DOES NOT update (change) the Order Status but only the Payment Transaction Status.

So, you could investigate this by creating a new Order ( Reservation ), making a payment with Example Payment and double checking if the Order Status changes upon payment success. If so, then we have spotted the issue.

Let me know about your findings please.

rovi’s picture

Just for you to know, i made tests with the older release of Cielo (brazilcards library).
The order status is pending in both payment methods, example and cielo.
The new release gives me this error: Notice: Use of undefined constant COMMERCE_STATUS_REDIRECTED - assumed 'COMMERCE_STATUS_REDIRECTED' in commerce_cielo_save_transaction() (line 353 of C:\xampp\htdocs\meusite\rooms0806\sites\all\modules\commerce_cielo\commerce_cielo.module).

rovi’s picture

Order status set pending in "Update the order status on checkout completion" rule

FranciscoLuz’s picture

The latest version of Commerce Cielo module will fix the error in #5.

rovi’s picture

Oi Francisco, torço para o rapido desenvolvimento do modulo que acho muito util. Gostaria ajudar de alguma maneira fazendo testes como simples usuario do drupal, já que não tenho noções de module development nem programação. Falo alemão e italiano e estou a disposição para eventuais traduções ou outro tipo de envolvimento.

rovi’s picture

Version: » 7.x-1.x-dev
Assigned: rovi » Unassigned
rovi’s picture

Hi Francsisco, i've homologate a cielo e-commerce account and made tests in real environment. I booked a room, Cielo charges the ammount but the room availability is not updated like #3 and not send the order emails to admin and costumer. Let me know if you have some news about this, Thanks.

FranciscoLuz’s picture

You have to create your own rules to trigger those actions either via Rules GUI or via a custom module.

rovi’s picture

I got it using rules, now the availability is updating and the order email IS sending to customer and admin, THANKS!!!

FranciscoLuz’s picture

Status: Postponed (maintainer needs more info) » Fixed

Glad to hear that. Setting this issue to fixed.

Status: Fixed » Closed (fixed)

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