Commerce order confirm

Component ID

1676100

Component name

Commerce order confirm

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2195

Component created

Component changed

Component body

This module provides a confirmation process to the order. It is suitable when your commerce based shop does not contain payment and you do not want to create Drupal accounts for all orders. Using the confirmation method of this module you can be sure the order that was made is valid.
Initial development sponsored by Calivita.de.

Overview

This module creates a random confirmation code for all created order. After the checkout the customer gets an email with this confirmation code and an url to confirm his order. The url contains the confirmation code already, so the customer only needs to click on it. If the url does not contain the code, the customer can enter this confirmation code on a confirmation form.

After a successful confirmation the order status changes so you can start process the confirmed orders.

Customization/settings

At the admin/commerce/config/order/confirm-settings you can set up the initial and the confirmation statuses. It means the selected initial status will change to the selected confirmed status when the confirmation succeed.

You can set there the redirection url where the customer will redirected after the confirmation. The selectable options are none (stay on the confirm page), the commerce order page, the front page or a custom url.

E-mail tokens

This module provides two tokens for emails. You just insert these tokens to the order's email templates.

The [commerce-order:order-activate-url] token contains the confirmation url. Use this token with the [site:url] token like this: [site:url]/[commerce-order:order-activate-url]

The [commerce-order:order-activation-code] token contains the confirmation code only.

Dependencies

TODO

  • Create special status for confirmed orders
  • Correct uninstall
  • Fire an event rule when an order has just been confirmed