{"id":285285,"date":"2026-06-11T14:52:18","date_gmt":"2026-06-11T14:52:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/streamline-gift-cards-store-credits\/"},"modified":"2026-06-27T15:16:39","modified_gmt":"2026-06-27T15:16:39","slug":"streamline-gcsc","status":"publish","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/streamline-gcsc\/","author":23458497,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.11","stable_tag":"trunk","tested":"","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"SL Gift Cards & Store Credits","header_author":"Streamline Diving","header_description":"Complete gift card, store credit, and coupon management system integrated with WooCommerce and Streamline POS","assets_banners_color":"000e20","last_updated":"2026-06-27 15:16:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/streamlinediving.com","rating":5,"author_block_rating":0,"active_installs":0,"downloads":91,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":{"1.0.11":{"tag":"1.0.11","author":"streamlineplugins","date":"2026-06-11 16:24:42"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3588185,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3588185,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.11"],"block_files":[],"assets_screenshots":{"Screenshot-1.jpg":{"filename":"Screenshot-1.jpg","revision":3569003,"resolution":"1","location":"assets","locale":"","width":1709,"height":1024},"Screenshot-11.jpg":{"filename":"Screenshot-11.jpg","revision":3569160,"resolution":"11","location":"assets","locale":"","width":1217,"height":1218},"Screenshot-12.jpg":{"filename":"Screenshot-12.jpg","revision":3569160,"resolution":"12","location":"assets","locale":"","width":846,"height":1007},"Screenshot-13.jpg":{"filename":"Screenshot-13.jpg","revision":3569160,"resolution":"13","location":"assets","locale":"","width":956,"height":1344},"Screenshot-2.jpg":{"filename":"Screenshot-2.jpg","revision":3569003,"resolution":"2","location":"assets","locale":"","width":1744,"height":612},"Screenshot-3.jpg":{"filename":"Screenshot-3.jpg","revision":3569003,"resolution":"3","location":"assets","locale":"","width":910,"height":862},"Screenshot-4.jpg":{"filename":"Screenshot-4.jpg","revision":3569003,"resolution":"4","location":"assets","locale":"","width":1712,"height":553},"Screenshot-5.jpg":{"filename":"Screenshot-5.jpg","revision":3569003,"resolution":"5","location":"assets","locale":"","width":872,"height":855},"Screenshot-6.jpg":{"filename":"Screenshot-6.jpg","revision":3569003,"resolution":"6","location":"assets","locale":"","width":1714,"height":1684},"Screenshot-7.jpg":{"filename":"Screenshot-7.jpg","revision":3569003,"resolution":"7","location":"assets","locale":"","width":1677,"height":1332},"Screenshot-8.jpg":{"filename":"Screenshot-8.jpg","revision":3569003,"resolution":"8","location":"assets","locale":"","width":1707,"height":836},"Screenshot-9.jpg":{"filename":"Screenshot-9.jpg","revision":3569003,"resolution":"9","location":"assets","locale":"","width":911,"height":640},"screenshot-10.jpg":{"filename":"screenshot-10.jpg","revision":3569160,"resolution":"10","location":"assets","locale":"","width":1889,"height":827}},"screenshots":{"1":"Dashboard","2":"Gift Cards","3":"Create Physical Gift Card","4":"Store Credit","5":"Add\/Deduct store Credit","6":"Reports","7":"Settings","8":"Import\/Export","9":"Combine Gift Cards"}},"plugin_section":[],"plugin_tags":[],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-285285","plugin","type-plugin","status-publish","hentry","plugin_category-ecommerce","plugin_committers-streamlineplugins"],"banners":{"banner":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/banner-772x250.png?rev=3588185","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/icon-256x256.png?rev=3588185","icon_2x":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/icon-256x256.png?rev=3588185","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-1.jpg?rev=3569003","caption":"Dashboard"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-2.jpg?rev=3569003","caption":"Gift Cards"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-3.jpg?rev=3569003","caption":"Create Physical Gift Card"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-4.jpg?rev=3569003","caption":"Store Credit"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-5.jpg?rev=3569003","caption":"Add\/Deduct store Credit"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-6.jpg?rev=3569003","caption":"Reports"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-7.jpg?rev=3569003","caption":"Settings"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-8.jpg?rev=3569003","caption":"Import\/Export"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-9.jpg?rev=3569003","caption":"Combine Gift Cards"},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/screenshot-10.jpg?rev=3569160","caption":""},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-11.jpg?rev=3569160","caption":""},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-12.jpg?rev=3569160","caption":""},{"src":"https:\/\/ps.w.org\/streamline-gcsc\/assets\/Screenshot-13.jpg?rev=3569160","caption":""}],"raw_content":"<!--section=installation-->\n<ol>\n<li>Upload the <code>sl-gift-cards-store-credits<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Go to WordPress Admin \u2192 Plugins<\/li>\n<li>Find \"SL Gift Cards &amp; Store Credits\"<\/li>\n<li>Click \"Activate\"<\/li>\n<li>Refresh the page<\/li>\n<li>Look for \"Gift Cards\" menu in WordPress sidebar<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h3>1.0.11<\/h3>\n\n<ul>\n<li>Fixed double store credit deduction on POS orders<\/li>\n<li>Fixed double store credit\/gift card restoration on POS returns  <\/li>\n<li>Added CSV exports to Reports page (GC transactions, gift cards, store credits)<\/li>\n<li>Added customer-specific exports from GC Transaction History and Customer Lookup<\/li>\n<li>Added multi-customer picker when search matches multiple customers<\/li>\n<li>Fixed HTML appearing in CSV export files<\/li>\n<\/ul>\n\n<h3>1.0.8<\/h3>\n\n<ul>\n<li>Security: Added nonce verification to gift card and store credit checkout handlers<\/li>\n<li>Security: Added nonce verification to admin download template and clear gift card URL handlers<\/li>\n<li>Security: Replaced wp_redirect with wp_safe_redirect throughout<\/li>\n<li>Security: Wrapped all echo output with appropriate escaping functions<\/li>\n<li>Code: Bundled Chart.js locally, removed remote CDN dependency<\/li>\n<li>Code: Replaced inline script tag with wp_add_inline_script and wp_localize_script<\/li>\n<li>Code: Renamed main plugin class to SGCSC_Plugin for consistent prefixing<\/li>\n<li>Code: Removed debug error_log calls<\/li>\n<li>Code: Fixed Text Domain header to match plugin slug<\/li>\n<\/ul>\n\n<h3>1.0.4 \u2014 February 2026<\/h3>\n\n<ul>\n<li>Added plugin row meta links: Visit plugin site, View ReadMe, View Details, User Guide<\/li>\n<li>Added <code>user-guide.html<\/code>, <code>readme.html<\/code>, <code>readme.pdf<\/code><\/li>\n<li>Minor stability improvements and code cleanup<\/li>\n<\/ul>\n\n<h3>1.0.3<\/h3>\n\n<ul>\n<li>Added customer self-service card combining from My Account<\/li>\n<li>Added admin edit functionality for gift card balance, status, and notes<\/li>\n<li>Improved CSV import validation and error reporting<\/li>\n<\/ul>\n\n<h3>1.0.2<\/h3>\n\n<ul>\n<li>Added bulk import\/export for gift cards and store credits<\/li>\n<li>Added pre-formatted CSV templates with download links<\/li>\n<li>Added customer-facing gift card linking from My Account<\/li>\n<\/ul>\n\n<h3>1.0.1<\/h3>\n\n<ul>\n<li>Added POS customer profile store credit display and \"Use Credit\" modal<\/li>\n<li>Added POS gift card payment input at checkout<\/li>\n<li>Added REST API endpoints for POS integration<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Complete WordPress\/WooCommerce plugin for gift cards, store credits, and coupon management integrated with Streamline POS.<\/p>\n\n<h3>Features<\/h3>\n\n<h3>\ud83c\udf81 Gift Cards<\/h3>\n\n<ul>\n<li>Auto-generated card numbers (GC-XXXX-XXXX-XXXX)<\/li>\n<li>E-gift cards with automatic email delivery<\/li>\n<li>Physical gift cards for in-store printing<\/li>\n<li>Balance tracking and transaction history<\/li>\n<li>Expiration date support<\/li>\n<li>Beautiful branded HTML emails<\/li>\n<li><strong>Customer account integration<\/strong> - Link gift cards to accounts<\/li>\n<li><strong>Combine cards<\/strong> - Merge multiple gift cards into one<\/li>\n<li><strong>Edit functionality<\/strong> - Modify balance, status, notes from admin<\/li>\n<li><strong>Import\/Export<\/strong> - Bulk operations via CSV<\/li>\n<\/ul>\n\n<h3>\ud83d\udcb0 Store Credits<\/h3>\n\n<ul>\n<li>Customer balance tracking<\/li>\n<li>Add\/deduct credits easily<\/li>\n<li>Refund to store credit<\/li>\n<li>Full transaction history<\/li>\n<li>Order associations<\/li>\n<li><strong>Import\/Export<\/strong> - Bulk credit operations<\/li>\n<\/ul>\n\n<h3>\ud83c\udf9f\ufe0f Coupons<\/h3>\n\n<ul>\n<li>Uses WooCommerce coupons<\/li>\n<li>Integrated into POS Extensions tab<\/li>\n<\/ul>\n\n<h3>\ud83d\udce6 Import\/Export<\/h3>\n\n<ul>\n<li>Export all gift cards to CSV<\/li>\n<li>Export all store credits to CSV<\/li>\n<li>Import gift cards from CSV (with template)<\/li>\n<li>Import store credits from CSV (with template)<\/li>\n<li>Download pre-formatted templates<\/li>\n<li>Validation and error reporting<\/li>\n<\/ul>\n\n<h3>\ud83d\udc64 Customer Features<\/h3>\n\n<ul>\n<li>View all gift cards in \"My Account\"<\/li>\n<li><strong>Link received gift cards<\/strong> to account<\/li>\n<li><strong>Combine multiple cards<\/strong> into one<\/li>\n<li>Check balances and transaction history<\/li>\n<li>Remove applied gift cards from cart<\/li>\n<\/ul>\n\n<h3>\ud83d\udd0c POS Integration<\/h3>\n\n<ul>\n<li>Extensions tab with sub-tabs<\/li>\n<li>Store credit display in customer profile<\/li>\n<li>Gift card payment at checkout<\/li>\n<li>Permission management<\/li>\n<\/ul>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WordPress 5.0+<\/li>\n<li>WooCommerce 5.0+<\/li>\n<li>PHP 7.4+<\/li>\n<\/ul>\n\n<h3>Database Tables<\/h3>\n\n<p>Created automatically on activation:\n- <code>wp_streamline_gift_cards<\/code> - Gift card data\n- <code>wp_streamline_gift_card_transactions<\/code> - Transaction history\n- <code>wp_streamline_store_credits<\/code> - Store credit transactions<\/p>\n\n<h3>REST API Endpoints<\/h3>\n\n<h3>Gift Cards<\/h3>\n\n<ul>\n<li><code>POST \/wp-json\/sl-gcsc\/v1\/gift-cards\/validate<\/code><\/li>\n<li><code>POST \/wp-json\/sl-gcsc\/v1\/gift-cards\/create<\/code><\/li>\n<li><code>POST \/wp-json\/sl-gcsc\/v1\/gift-cards\/apply<\/code><\/li>\n<li><code>GET \/wp-json\/sl-gcsc\/v1\/gift-cards\/balance\/:number<\/code><\/li>\n<\/ul>\n\n<h3>Store Credits<\/h3>\n\n<ul>\n<li><code>GET \/wp-json\/sl-gcsc\/v1\/store-credit\/balance\/:customer_id<\/code><\/li>\n<li><code>GET \/wp-json\/sl-gcsc\/v1\/store-credit\/history\/:customer_id<\/code><\/li>\n<li><code>POST \/wp-json\/sl-gcsc\/v1\/store-credit\/add<\/code><\/li>\n<li><code>POST \/wp-json\/sl-gcsc\/v1\/store-credit\/apply<\/code><\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h3>Admin Menu Pages<\/h3>\n\n<p>Navigate to <strong>Gift Cards &amp; Credits<\/strong> in WordPress admin:<\/p>\n\n<ol>\n<li><strong>Dashboard<\/strong> - Overview of gift cards and store credits<\/li>\n<li><strong>Gift Cards<\/strong> - View all gift cards\n\n<ul>\n<li><strong>Edit<\/strong> - Modify balance, status, notes, recipient<\/li>\n<li><strong>Combine<\/strong> - Transfer balance between cards<\/li>\n<\/ul><\/li>\n<li><strong>Create Physical Card<\/strong> - Generate new physical gift cards<\/li>\n<li><strong>Store Credits<\/strong> - View all customer store credits<\/li>\n<li><strong>Add Store Credit<\/strong> - Add credits to customer accounts<\/li>\n<li><strong>Reports<\/strong> - View gift card and store credit analytics<\/li>\n<li><strong>Settings<\/strong> - Configure email templates and URLs<\/li>\n<li><strong>Import\/Export<\/strong> - Bulk operations\n\n<ul>\n<li>Export gift cards to CSV<\/li>\n<li>Export store credits to CSV<\/li>\n<li>Import from CSV with templates<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Customer Account Pages<\/h3>\n\n<p>Customers can access at <strong>My Account \u2192 My Gift Cards<\/strong>:<\/p>\n\n<ul>\n<li>View all their gift cards<\/li>\n<li>Check balances and transaction history<\/li>\n<li><strong>Link a gift card<\/strong> - Add received cards to account<\/li>\n<li><strong>Combine<\/strong> - Merge multiple cards into one<\/li>\n<li>Remove applied gift cards from cart<\/li>\n<\/ul>\n\n<h3>Cart &amp; Checkout<\/h3>\n\n<ul>\n<li>Apply gift cards on cart page<\/li>\n<li>Apply gift cards on checkout page<\/li>\n<li>Remove applied gift cards with one click<\/li>\n<li>$0 total notice when fully covered<\/li>\n<li>Session-based persistence<\/li>\n<\/ul>\n\n<h3>Create Physical Gift Card<\/h3>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>$gift_card_id = SGCSC_Gift_Card::create([\n    'initial_balance' =&gt; 100.00,\n    'is_physical' =&gt; true\n]);\n    `<\/p>\n\n<h3>Add Store Credit<\/h3>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>SGCSC_Store_Credit::add($customer_id, 25.00, [\n    'reason' =&gt; 'Compensation',\n    'notes' =&gt; 'Issue #1234'\n]);\n    `<\/p>\n\n<h3>Validate Gift Card<\/h3>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>$result = SGCSC_Gift_Card::validate('GC-XXXX-XXXX-XXXX');\n    `<\/p>\n\n<h3>Creating E-Gift Card Products<\/h3>\n\n<ol>\n<li>Products \u2192 Add New<\/li>\n<li>Product Type: Gift Card<\/li>\n<li>Set price<\/li>\n<li>Publish<\/li>\n<\/ol>\n\n<p>Customers can purchase and recipient receives email automatically!<\/p>\n\n<h3>Support<\/h3>\n\n<p>Check the included guides:\n- COMPLETE-SETUP-GUIDE.md - Full setup instructions\n- POS-INTEGRATION-CODE.js - POS integration code\n- COMPLETE-INTEGRATION-GUIDE.md - Detailed integration<\/p>\n\n<h3>Version<\/h3>\n\n<p>1.0.4<\/p>\n\n<h3>Author<\/h3>\n\n<p>Streamline Diving \u2014 <a href=\"https:\/\/www.streamlinediving.com\/plugins\">streamlinediving.com\/plugins<\/a><\/p>","raw_excerpt":"Complete WordPress\/WooCommerce plugin for gift cards, store credits, and coupon management integrated with Streamline POS.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/285285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=285285"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/streamlineplugins"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=285285"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=285285"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=285285"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=285285"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=285285"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=285285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}