If you add the code {complete_date} in the email template, the date of purchase is not inserted. Use this code to show the purchase date. The only issue I can see with this is, if the card is sent in a date in the future then the amount of available time to use it will be reduced. So for example, I buy a card today for a birthday and the the birthday is not until next month and I set it to be sent out in 28 days time, then the receiver would lose 28 days to redeem the Gift Card. It should be from the date the electronic card is received.

To add the purchase date of the Gift Card:

That info is not available in gift card email. If you want to add it by yourself, you edit


search for the line

'{gift_card_message}' => $card->message,

and add this line after it

'{completed_date}' => JHtml::_('date', $card->completed, 'DATE_FORMAT_LC2'),

To test with PayPal sandbox, you go to https://www.sandbox.paypal.com/ and register your own sandbox account, then you create a sandbox account for merchant and an account for buyer.

In the PayPal plugin configuration, you enter merchant sandbox account and set environment to "Sandbox".

When you purchase for gift card in front-end, you pay with the buyer sandbox account you have created, if everything goes well you will receive emails.


Joomwalker is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla name and logo are used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.