- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 24,291
- راهحلها
- 27
- پسندها
- 3,278
- امتیازها
- 113
- سن
- 28
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Since 2.1.6, there is a
postCompleteTransaction method in XF\Purchasable\AbstractPurchasable. However, there may be a need to watch all completed transactions for all Purchasables, for example for sending fiscal receipts to the tax service (not from a payment provider). Extending a class for each Purchasable is inconvenient, since it is impossible to handle for every possible case, so an event like post_complete_transaction would be nice.
نام موضوع : "post_complete_transaction" event
