Nidzo
I tried with Cash on Delivery because I don't have Stripe installed. Maybe it's a test you could do also, to see if it's related to the PCP.
I also don't have email active but after changing the order from Pending to Completed manually, I get a coupon in my table and in the Phoca Cart GUI.
Things that could be double checked:
- Product - General Options - Product type = Gift Voucher (on the right)
- Product - Attributes: Value (Image Select), required with a value block for each Gift voucher value, one of them the Default
- Product - Attributes: Gift (Gift Type), not required, with as values all the different fields each of the correct Type (Gift - Name of Recipient, etc)
- Product - Publishing Options (the Product Type of the video is on the General tab now, see above). For each card the Gift Expiration date
If you check your Gift Card/voucher product in the _phocacart_products table, check the contents of the gift_types column. It should be something like this:Since you have an error on valid_to, maybe the expiration_date isn't set on your test?
If all that is OK, then I don't have a clue either, sorry.
I tried with Cash on Delivery because I don't have Stripe installed. Maybe it's a test you could do also, to see if it's related to the PCP.
I also don't have email active but after changing the order from Pending to Completed manually, I get a coupon in my table and in the Phoca Cart GUI.
Things that could be double checked:
- Product - General Options - Product type = Gift Voucher (on the right)
- Product - Attributes: Value (Image Select), required with a value block for each Gift voucher value, one of them the Default
- Product - Attributes: Gift (Gift Type), not required, with as values all the different fields each of the correct Type (Gift - Name of Recipient, etc)
- Product - Publishing Options (the Product Type of the video is on the General tab now, see above). For each card the Gift Expiration date
If you check your Gift Card/voucher product in the _phocacart_products table, check the contents of the gift_types column. It should be something like this:
Code:
{"gift_types0":{"id":"0","title":"Happy Valentine","image":"images\/phocacartproducts\/BabyFood\/valentine-5954177_960_720.jpg#joomlaImage:\/\/local-images\/phocacartproducts\/BabyFood\/valentine-5954177_960_720.jpg?width=960&height=641","image_small":"","description":"<p>Happy Valentines Gift Voucher<\/p>","expiration_date":"2024-12-31 11:27:12","class_name":""},"gift_types1":{"id":"0","title":"Present","image":"images\/phocacartproducts\/BabyFood\/background-3018089_960_720.jpg#joomlaImage:\/\/local-images\/phocacartproducts\/BabyFood\/background-3018089_960_720.jpg?width=960&height=560","image_small":"","description":"","expiration_date":"2024-12-31 11:27:12","class_name":""}}
If all that is OK, then I don't have a clue either, sorry.
Statistics: Posted by lpatrick — 12 Apr 2024, 14:53