0

When using a checksum token in a receipt email like this:

http://example.org/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=IDNUMBER&{contact.checksum}&cid={contact.contact_id}

A critical error is thrown in wc-logs but no specifics are included in the error message:

CRITICAL Smarty error: [in string

Are system emails parsed differently? My plan at the moment is to switch over to CiviRules which work with said tokens.

2
1

According to the documentation they should look like

WordPress (with Clean URLs): http://example.org/civicrm/contribute/transact?reset=1&id=IDNUMBER&{contact.checksum}&cid={contact.contact_id}

WordPress (without Clean URLs): http://example.org/?civiwp=CiviCRM&q=civicrm/contribute/transact&reset=1&id=IDNUMBER&{contact.checksum}&cid={contact.contact_id}

There may be a good reason yours does not but thought I should record this.

1
  • The critical error doesn't have to do with how the links are structured but with how the tokens are parsed.
    – dsmith63
    Jul 24 at 1:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.