After completing checkout (that works just fine and does make the reservation) I get a "Notice" with the following text:
Notice: Undefined index: path in token_tokens() (line 780 of /***full path masked***/sites/all/modules/token/token.tokens.inc).

Issues:
- Where it states, "You can view your order on your account page when logged in", the hyperlink for "view your order" redirects to the main page.'
The call of [commerce-order:order-number] works fine but the [commerce-order:url] does not. It looks like a timeout/redirect back to the main page.

- I cannot see any orders in my "My Account" page after successfully completing checkout and getting the message of "Room Availability Updated" under the same account.

Thanks for your help and for creating such a useful tool.

Chuck

Comments

escuec’s picture

line 780 in token.tokens.inc is bolded below:

if (_token_module($type, 'url') == 'token' && $uri = entity_uri($entity_type, $entity)) {
$replacements[$original] = url($uri['path'], $uri['options']);
}
break;

artatac’s picture

I'm getting this also.

chapabu’s picture

Project: Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals » Token
Version: 7.x-1.0-alpha4 » 7.x-1.1
Component: Rooms Booking Manager » Code

I think this is an issue with Token rather than rooms, as I get this error whilst using Drupal Commerce on checkout completion.

Dave Reid’s picture

Project: Token » Commerce Core
Version: 7.x-1.1 » 7.x-1.x-dev
Component: Code » Order
Status: Active » Closed (duplicate)
gaofeng’s picture

Version: 7.x-1.x-dev » 7.x-1.8
Status: Closed (duplicate) » Active

I had exactly the same thing here. For me, simply enabling the commerce-order-ui did the trick. All works fine now.

rszrama’s picture

Status: Active » Closed (duplicate)

Closing this back out as we do have a duplicate open to address the issue.

rszrama’s picture

Issue summary: View changes

added commerce-order functionality notes

chinhlc’s picture

Issue summary: View changes

you go to module. and you install module: order && Order UI
=> sucefull