{"repo":"solidusio-contrib/solidus_virtual_gift_card","free":true,"listed":false,"github":"https://github.com/solidusio-contrib/solidus_virtual_gift_card","clone":"git clone https://github.com/solidusio-contrib/solidus_virtual_gift_card.git","description":"Virtual gift cards for your Solidus store.","language":"Ruby","stars":34,"topics":["solidus","gift-cards","ecommerce","store-credit","extension"],"license":"BSD-3-Clause","category":"ecommerce","readme_excerpt":"Solidus - Virtual Gift Card =========================== A virtual gift card implementation for Solidus. Allows setup of virtual gift card products that get unique codes upon purchase. The virtual gift card codes can be used to add store credit to a user's account. Installation ------------ In your Gemfile: Bundle your dependencies and run the installation generator: Use Gift Card during Checkout ----------------------------- 1) Visit /admin/payment methods and add the Gift Card payment method. It should not be available to Users or Admins. 2) During checkout, you can call the API POST /api/orders/:order id/gift card codes(.:format) to add gift card codes to the order. 3) At the finalization step, the gift cards listed on the order will be used as payment. Add expire job -------------- If you want to change the configuration, you can add the following to an initializer: SolidusVirtualGiftCard::Config.tap do config # Amount of time after which the authorized transaction should be voided config.authorize timeout = 1.month config.schedule job class = 'SolidusVirtualGiftCard::VoidExpiredAuthorizedEventsJob' end The last step in the installation process is to configure the SolidusVirtualGiftCard::VoidExpiredAuthorizedEventsJob background job to run regularly. There are different ways to do this depending on the environment your application is running in: Heroku Scheduler, cron etc. Authorization ------------- For discrete authorization, two permission sets have been added to allow ","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidusio-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidusio-contrib/solidus_virtual_gift_card/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}