Inquiry About Gift Card Voucher Setup and Testing
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- PaoloLegaspi
- Posts: 35
- Joined: 07 Nov 2024, 15:02
Inquiry About Gift Card Voucher Setup and Testing
Hi,
We’re currently testing voucher products on our site, specifically buying them and using them in the basket. I followed the documentation to set up a Gift Card product and created a Coupon data entry with "voucher" as the provider, adding the voucher.productcode. I didn’t create any coupon codes manually since the documentation says the codes will be generated automatically once the order payment status is set to "authorized" or "received."
Here’s what I did:
1. I purchased the Gift Card product, and the order was created.
2. I set the payment status to "received" in the admin panel. (Just to receive the generated code and test it in the cart for my next order)
3. Then I ran the order/email/voucher command, expecting to receive an email with the code for testing it in the cart on my next order.
Unfortunately, no email was sent, and I didn’t get the code.
Am I missing a setup step? How can I properly test this use case?
Thanks!
I have attached some screenshots
We’re currently testing voucher products on our site, specifically buying them and using them in the basket. I followed the documentation to set up a Gift Card product and created a Coupon data entry with "voucher" as the provider, adding the voucher.productcode. I didn’t create any coupon codes manually since the documentation says the codes will be generated automatically once the order payment status is set to "authorized" or "received."
Here’s what I did:
1. I purchased the Gift Card product, and the order was created.
2. I set the payment status to "received" in the admin panel. (Just to receive the generated code and test it in the cart for my next order)
3. Then I ran the order/email/voucher command, expecting to receive an email with the code for testing it in the cart on my next order.
Unfortunately, no email was sent, and I didn’t get the code.
Am I missing a setup step? How can I properly test this use case?
Thanks!
I have attached some screenshots
Code: Select all
PHP version: 8.2
Aimeos version: Aimeos Headless 2024.10.*
Environment: Mac
Last edited by PaoloLegaspi on 13 Feb 2025, 07:42, edited 3 times in total.
- PaoloLegaspi
- Posts: 35
- Joined: 07 Nov 2024, 15:02
Re: Inquiry About Gift Card Voucher Setup and Testing
Hi
This is working on our side now; we forgot to attach the payment and delivery address to our order.
This is working on our side now; we forgot to attach the payment and delivery address to our order.