-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
238 lines (179 loc) · 9.82 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
=== PeproDev WooCommerce Receipt Uploader ===
Contributors: peprodev, amirhpcom, blackswanlab
Donate link: https://pepro.dev/donate
Tags: WooCommerce, Upload Receipt, eCommerce solution
Version: 2.7.0
Stable tag: 2.7.0
Requires PHP: 5.6
Tested up to: 6.7.0
WC tested up to: 9.4.1
Requires at least: 5.0
WC requires at least: 4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Upload Receipt for Any Payment method in WooCommerce
== Description ==
### **Upload Receipt for Any Payment method in WooCommerce. Customers will Upload the receipt and Shop Managers will approve/reject it manually.**
== 🔥 v2.6 [2024 🎉 release] Finally Upload to different directory is here! ==
- 😍 Upload Receipts to different directory (wp-content/uploads/receipt_upload) -- Thanks to (Yok Morales)
- ✅ Added compatibility with WooCommerce High-Performance Order Storage
- ✅ Auto-add an .htaccess file into upload directory to prevent listing
- ✅ Added filter to media list mode to show Only Receipts or Filter Receipts by Order ID
- ✅ Added Receipts file size column in media screen, listing view
- ✅ Fixed trimming New Lines while Saving custom html content (before/after upload form)
== 🔥 v2.0, a Mega-update released 🤩 ==
- 😍 Integration with WooCommerce Email Notifications
- 😍 Send Email on Receipt Upload, Approve and Reject to Admin and Customer
- 😍 Change Order Status on Order Placed, Receipt Uploaded, Approved or Rejected
- 😍 Added Shortcode to Display Uploaded Receipt `[receipt-preview order_id=2095]`
- 😍 Added Shortcode to Display Upload Receipt Form `[receipt-form order_id=2095]`
- 😍 Added Secure Image Display! (Hide uploaded receipt URL)
== 🔥 Since v.1.5 ~> Multiple Gateways Receipt acceptance ==
- ✅ Hook for Developers to run actions on receipt upload by user
- ✅ Hook for Developers to run actions on receipt status change
- ✅ Optional: Redirect to an Address on Success Receipt upload
- ✅ Admin can change Receipt acceptant Gateways
- ✅ Admin can change Receipt Upload size limit
- ✅ Admin can change Receipt File types (e.g. to accept PDF ~> add application/pdf)
- 😍 RTL-ready, Persian Translation included by default
- 😍 Fully Compatible with Pepro Ultimate Profile Solutions
- 😍 Fully Compatible with Pepro Ultimate Invoice for WooCommerce
- 😍 Fully Compatible with Pepro Delivery Stages for WooCommerce
- 😍 Fully Compatible with LocoTranslate to have your own translation
---
#### Made with Love in [Pepro Dev. Group](https://pepro.dev/)
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Set up WooCommerce BACS Payments
4. Users will upload receipt after transferring money in BACS payment
5. From WooCommerce Orders screen, view/change/delete/approve/reject/comment on transaction receipt
== Frequently Asked Questions ==
= How can I contribute to this plugin? =
You can help us improve our works by committing/requesting your changes to [our GitHub repository](https://github.com/peprodev/wc-upload-reciept)
= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/pepro-bacs-receipt-upload-for-woocommerce)
== Screenshots ==
1. v2.0, a Mega-update released
2. WooCommerce Order Screen and Receipt Settings
3. Customer Orders list and receipt status
4. Customer receipt upload form in order details page
5. Customer receipt uploaded in order details page
6. Customer receipt rejected and admin commented in order details page
7. Customer receipt approved in order details page
8. WooCommerce Orders List and BACS Receipt Status
== Upgrade Notice ==
= v2.7.0 (2024-11-22/1403-09-02) =
- Fixed security Issue Addressed by Mika from Patchstack & vgo0 from Wordfence
= v2.6.9 (2024-08-14/1403-05-24) =
- HPOS Full Compatibility
== Changelog ==
= v2.7.0 (2024-11-22/1403-09-02) =
- Fixed security Issue Addressed by Mika from Patchstack & vgo0 from Wordfence
= v2.6.9 (2024-08-14/1403-05-24) =
- HPOS Full Compatibility
= v2.6.7 (2024-07-22/1403-05-01) =
- Minor fix for new WooCommerce
= v2.6.6 (2024-06-14/1403-03-25) =
- Fixed `Uncaught Error: Call to undefined method WP Post:get_id()`
= v2.6.5 (2024-06-13/1403-03-24) =
- Fix HPOS error of incompatibility
= v2.6.4 (2024-06-08/1403-03-19) =
- Fix error on not getting Order ID
= v2.6.3 (2024-02-05/1402-11-16) =
- Fix not showing uploaded receipt image
- Fix compatibility with High-Performance Order Storage
- Fix HPOS Orders screen column not showing
- Fix HPOS Order screen metabox not showing
= v2.6.0 [2024 🎉] (2024-01-21/1402-11-01) =
- Now Upload Receipts to different directory (wp-content/uploads/receipt_upload) -- Thanks to (Yok Morales)
- Auto-add an .htaccess file into upload directory to prevent listing
- Added compatibility with WooCommerce High-Performance Order Storage
- Added filter to media list mode to show Only Receipts or Filter Receipts by Order ID
- Added Receipts file size column in media screen, listing view
- Fixed trimming New Lines while Saving custom html content (before/after upload form)
= v2.5.0 (2023-09-03/1402-06-12) =
- Added Option to set which Order Statuses you want to show upload form
- Fixed Re-sending Notification Email on order update
- Fixed Showing upload form on Completed/Canceled Orders
= v2.4.5 (2023-06-10/1402-03-20) =
- Fixed Fatal Error on Sending Mail because of not declaring constant PEPRODEV_RECEIPT_UPLOAD_EMAIL_PATH earlier
= v2.4.3 (2023-05-11/1402-02-21) =
- Fixed change order status on change receipt status
- Added Option to Add Custom Content Before/After Form (Accepts HTML & Shortcode)
= v2.4.2 (2023-05-10/1402-02-20) =
- Added Option to change Order Status when Receipt Status is Approved
- Fixed Wrong Order Status when Receipt is Rejected (thanks to Alex Perez)
- Added View Button to Uploaded Receipts Metabox to Open Full-Resolution file in new tab
= v2.4.1 =
- Fixed Upgrading from v2.2.2 to 2.4.0 cause Fatal Error
= v2.4.0 (2023-05-07/1402-02-17) =
- Added Recipient for Admin Emails
- Added Additional Content for Emails
- Enhanced Triggering Emails
- Fixed Emails not Sending on Status Change
- Added Uploading Percentage to Toast message
- Changed Plugin row-meta to WordPress default style
- Updated some translations
= v2.2.2 (2023-03-27/1402-01-07) =
- Shortcode [receipt-form] now works on Thankyou page (no order_id argument is needed)
- Updated some translations
= v2.2.0 (2022-08-22/1401-05-31) =
- Option to Enable/Disable Secure Link for Showing Uploaded Receipts
= v2.1.0 (2022-08-22/1401-05-31) =
- Now Compatible with [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/)
= v2.0, a Mega-update released 🤩 (2022-08-15/1401-05-24) =
- Integration with WooCommerce Email Notifications
- Send Email on Receipt Upload, Approve and Reject to Admin and Customer
- Change Order Status on Order Placed, Receipt Uploaded, Approved or Rejected
- Added Shortcode to Display Uploaded Receipt `[receipt-preview order_id=2095]`
- Added Shortcode to Display Upload Receipt Form `[receipt-form order_id=2095]`
- Added Secure Image Display! (Hide uploaded receipt URL)
= 1.8.0 (2022-03-15/1400-12-24) =
- Fixed not showing all gateways
- Fixed only select two gateways
= 1.7.0 (2022-01-19/1400-10-29) =
- Added Option to redirect to an address on success upload
- DEV: added jQuery hook on $(document) ~> `peprodev_receipt_uploader_ajax_prevented`
- DEV: added jQuery hook on $(document) ~> `peprodev_receipt_uploader_ajax_success`
- DEV: added jQuery hook on $(document) ~> `peprodev_receipt_uploader_ajax_failed`
- DEV: added jQuery hook on $(document) ~> `peprodev_receipt_uploader_ajax_completed`
= 1.6.0 (2022-01-15/1400-10-25) =
- Added new Order status, Awaiting Upload
- Added Setting Link to WooCommerce menu
- DEV: Deprecated Hook `woocommerce_customer_purchased_bacs_order`
- DEV: Deprecated Hook `woocommerce_customer_uploaded_receipt`
- DEV: Deprecated Hook `woocommerce_admin_saved_receipt_approval`
- DEV: Deprecated Hook `woocommerce_admin_changed_receipt_approval_status`
- DEV: Added Hook `peprodev_uploadreceipt_order_placed`
- DEV: Added Hook `peprodev_uploadreceipt_save_receipt`
- DEV: Added Hook `peprodev_uploadreceipt_receipt_rejected`
- DEV: Added Hook `peprodev_uploadreceipt_receipt_status_changed`
- DEV: Added Hook `peprodev_uploadreceipt_receipt_attached_note`
- DEV: Added Hook `peprodev_uploadreceipt_customer_uploaded_receipt`
= 1.5.0 (2022-01-11/1400-10-21) =
- 🔥 Multiple Gateways Receipt acceptance
- 😍 New UI at front-end (using toast instead of alert)
- 😍 New UI at back-end (added more tools, changes styles)
- 😍 Show prev. uploaded receipts in Order Metabox
= 1.4.0 =
- Added Settings page: wp-admin/admin.php?page=wc-settings&tab=checkout§ion=upload_receipt
- Added Settings page link in plugins meta row
- Added Size Limit Option
- Added File Type Option (can use PDF as receipt, just add application/pdf as Mimes)
- Changed UI in Admin Side, minimal style
- General Bug Fixes and Improvements
- Changed Class name to `Pepro_Upload_Receipt_WooCommerce`
- Changed text-domain to `receipt-upload`
- DEV: added hook: `pepro_upload_receipt_allowed_file_mimes`
- DEV: added hook: `pepro_upload_receipt_max_upload_size`
= 1.3.0 =
- WP-5.6 compatible
- Error handling during upload fix
- text-domain change
= 1.2.1 =
- Fixed Translation and some small errors
= 1.0.0 =
- Initial release
== About Us ==
***PEPRO DEV*** is a premium supplier of quality WordPress plugins, services and support. Join us at [https://pepro.dev/](https://pepro.dev/) and also don't forget to check our [free plugins](http://profiles.wordpress.org/peprodev/), we hope you enjoy them!