Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | cielo-payment.jpg | 22.85 KB | rovi |
| #3 | example-payment.jpg | 38.49 KB | rovi |
| #3 | payment.jpg | 51.17 KB | rovi |
Comments
Comment #1
FranciscoLuz commentedHi 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.
Comment #2
rovi commentedHi Francisco, thanks for your reply. I'm working on other project but soon i will send you more infos about.
Comment #3
rovi commentedHi 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)
Comment #4
FranciscoLuz commentedThis 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.
Comment #5
rovi commentedJust 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).
Comment #6
rovi commentedOrder status set pending in "Update the order status on checkout completion" rule
Comment #7
FranciscoLuz commentedThe latest version of Commerce Cielo module will fix the error in #5.
Comment #8
rovi commentedOi 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.
Comment #9
rovi commentedComment #10
rovi commentedHi 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.
Comment #11
FranciscoLuz commentedYou have to create your own rules to trigger those actions either via Rules GUI or via a custom module.
Comment #12
rovi commentedI got it using rules, now the availability is updating and the order email IS sending to customer and admin, THANKS!!!
Comment #13
FranciscoLuz commentedGlad to hear that. Setting this issue to fixed.