Voucher delivery

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Stefan80
Posts: 42
Joined: 27 Nov 2017, 09:57

Voucher delivery

Post by Stefan80 » 03 Feb 2020, 12:19

Hello,

using TYPO3 9.5.7 with Aimeos 19.10.4.

Is it possible to send the voucher code via e-mail only after the payment is somehow confirmend?

thanks

User avatar
aimeos
Administrator
Posts: 7885
Joined: 01 Jan 1970, 00:00

Re: Voucher delivery

Post by aimeos » 04 Feb 2020, 13:53

The e-mails with the voucher code is only sent if the payment status is "authorized" or "received":
https://github.com/aimeos/ai-client-htm ... hp#L76-L99

You can change it to "received" only using this configuration:
https://aimeos.org/docs/Configuration/C ... ard/status
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Stefan80
Posts: 42
Joined: 27 Nov 2017, 09:57

Re: Voucher delivery

Post by Stefan80 » 06 Feb 2020, 10:07

Thanks.

Is the required code right:

Code: Select all

plugin.tx_aimeos.settings.controller.jobs.order.email.voucher.standard.status = Array {
  [0] => 6
}
(Voucher code only by status "received")

User avatar
aimeos
Administrator
Posts: 7885
Joined: 01 Jan 1970, 00:00

Re: Voucher delivery

Post by aimeos » 06 Feb 2020, 10:24

Code: Select all

plugin.tx_aimeos.settings.controller.jobs.order.email.voucher.standard.status {
  0 = 6
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Stefan80
Posts: 42
Joined: 27 Nov 2017, 09:57

Re: Voucher delivery

Post by Stefan80 » 07 Feb 2020, 10:16

Thank you, its worked.

Post Reply