• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Welcome to the XenForo 2 demo. This is a work in progress and you may find some rough edges. See more about what to expect.

Fixed Purchasable ID and email receipt template length issues...

Active Member
This might not be a bug, but I'm reporting it as it's possible it could be classed as such.

The purchaseable_type_id field can be up to length 50, however template names are also restricted to 50.

Receipts for purchases use the payment_received_receipt_<purchasable_type_id> title format, meaning that it's possible the receipt title will be too long to exist.

Either the maximum template title length needs to be increased, or we need a method to specify an alternative receipt template title.

Liam
 
XenForo Developer
Staff member
We actually did increase the template title length to account for such things. Unfortunately we forgot to change the max length in the entity, doh!
 
XenForo Developer
Staff member