Automatic Delivery

Permalink Browser Info Environment
I am not getting the automatic delivery when I test. I created a Set, and then a product in that set called "Gift Card" for $1. Enabled, Automatic Delivery Method=Email delivery as plain text.

I go to my cart and purchase the card. (add to card, checkout, paypal, return to site)

If I go Gift Cards in the Dashboard, it shows Disabled. I can check it and Activate Disabled, but I thought the Automatic Delivery Method should do this as soon as the customer checks out. Is this supposed to happen this way?

Type: Discussion
Status: New
ErikLeeOlson
View Replies:
Mainio replied on at Permalink Reply
Mainio
There is probably something wrong saving that option, we did change quite a lot when we did the UI upgrade for concrete5.5+.

I'll check it tomorrow!

Best,
Antti / Mainio
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
In the process of testing, I have found something strange. Regarding my previous message, if I do not have any disabled coupons in the table, then when I place an order, a disabled coupon is created but not activated. However, if I DO have a disabled coupon (such as the one that just got created, or an inventory set up in advance) and another order is placed, then that existing coupon is activated and set to the purchaser.

So, for instance, Julie goes to purchase a $2 Cookie. She checks out with PayPal and returns to the website, which displays the Finish page. Julie gets a receipt, The administrator gets a notification, and the table CoreCommerceGiftCardCoupons shows a disabled $2 coupon.

IF I were to Activate Disabled in the Dashboard, then Julie would get her gift card in the email. However, suppose I don't:

Next, Veronica goes to purchase a $2 Cookie. She checks out with PayPal and returns to the website, which displays the Finish page. Veronica gets a receipt, the administrator gets a notifation, and then Veronica receives the gift card that Julie created! The gift card Julie created is now showing Status=1 in the table, and it was emailed to Veronica. There is now no way for Julie to get her Gift Card.
Mainio replied on at Permalink Reply
Mainio
Ok, thanks for the additional info!

There is actually only one case before you using this feature that I know of, one of our clients who wished it would be added there. Therefore, after the initial 5.5+ release it wasn't probably tested that thoroughly.

I can sure check this out tomorrow! I'd check it right away but it's just 11pm here already.
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
It seems like the trigger to send the newly created inventory is not firing. It just creates the inventory and then does nothing. However the next order that comes along sees the inventory and activates it.
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
One final bit if info, I tested this with a credit card via authorize.net and got the same behavior, so it probably does not have anything to do with paypal.
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
Temporary Work-Around is to have a sufficient number of disabled coupons in inventory, otherwise all of the odd-numbered purchasers will be creating inventory for all of the even-numbered purchasers.

G'nite
Erik
Mainio replied on at Permalink Reply
Mainio
Thanks!

Yeah, actually for the initial client who this was created for it was a requirement that it should be so that there should always be enough "inventory" for the cards.

However, it SHOULD also create a new card if the inventory is over (or I'm not sure whether this was configurable through some config but I really doubt it).
Mainio replied on at Permalink Reply
Mainio
This problem should now be fixed in the latest version (1.3.5) of the add-on. This update should now be available to you through your automatic update at dashboard.

Best,
Antti / Mainio
Mainio replied on at Permalink Reply
Mainio
And by the way, it will still mess with your product's stock information if you have NOT set the product stock to "Unlimited". If you have some number in the stock information, it will be updated during each purchase of the product.

The stock will be updated to the number of gift cards available in your gift card set for the value of the sold gift card.

But, if you set the stock to "Unlimited", it will not be affected at any point (anymore, after fixing the bug).
ErikLeeOlson replied on at Permalink Reply
ErikLeeOlson
Thank You!!!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.