Commit Graph

186 Commits

Author SHA1 Message Date
claudiosmweb 8413d68de6 Added Simplify Commerce minified js file 2014-11-14 09:58:21 -02:00
claudiosmweb c683720b02 Removed old ajax_loader_url param from all js files 2014-11-14 09:52:44 -02:00
Mike Jolley 7c666852c7 If totals mismatch in paypal, don't send line items 2014-11-13 13:41:51 +00:00
Mike Jolley 2b8be95360 Remove # (hash) from get_order_number and add to strings instead as needed.
Most places use Order #X
Some places use Order Number: X

Both are now valid.

Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley f96f01b271 esc_url_raw, huh. What is it good for. Absolutely nuthin #5798 2014-10-23 15:47:21 +01:00
Mike Jolley a76f9d9096 Optimise paypal gateway, and revise encoding.
#5798
2014-10-23 14:27:24 +01:00
claudiosmweb eba08c41f3 alt attribute from paypal logo now is translatable 2014-10-21 19:31:37 -02:00
Nicola Mustone b9a89e4589 Fixed indentation and added wp_unslash 2014-10-21 09:43:57 +02:00
doublesharp 8dae054e0c Update class-wc-addons-gateway-simplify-commerce.php
Use new $order->get_status() in lieu of legacy $order->status to support the new post_status format in WC 2.2
2014-10-18 01:04:40 -07:00
Gustavo Bordoni c335d223d8 Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0 2014-10-06 06:55:45 -03:00
mgiulio da0a42be28 Use 'no' to disable the gateway 2014-09-29 12:08:19 +02:00
mgiulio ae728acc63 Use wc_get_order in simplify-commerce 2014-09-24 17:30:14 +02:00
shivapoudel bc5156ff4a Absolute path and Indentation fix for includes/gateways/*.php :) 2014-09-21 01:27:58 +05:45
Mike Jolley 80d4a73f52 Added acceptance marks to PayPal Standard where applicable to replace generic PayPal icon. 2014-09-19 16:55:14 +01:00
Mike Jolley 75eb07c974 Fix paypal mobile checkout. Closes #6165 2014-09-15 16:38:07 +01:00
Mike Jolley 27a20dd80e Docblock changes 2014-09-08 16:35:40 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Max Rice ee25790fb9 Don't load simplify javascript when gateway isn't available 2014-09-04 20:27:43 -04:00
thenbrent ac80c8b51c Add a link to PayPal's guide on API Creds 2014-09-02 14:44:17 -07:00
claudiosmweb 08af487754 added simplify pre-orders support 2014-09-02 11:11:21 -03:00
claudiosmweb 54aa162fb4 renamed the simplify "subscriptions" class to "addons" 2014-09-02 10:21:42 -03:00
claudiosmweb 063d1eb349 fixed the access permissions 2014-09-01 12:44:51 -03:00
justinstern 8417209d6c Improve, fix, WC_Payment_Gateway::get_transaction_url()
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
Mike Jolley 198f00d6b5 Merge pull request #6072 from woothemes/feature-paypal-transactin-url-sandbox
Add sandbox support for paypal transaction url
2014-08-22 10:43:28 +01:00
claudiosmweb 6cc401b70f Added paypal refund reason/note
cc @mikejolley
2014-08-21 20:22:28 -03:00
claudiosmweb ff7f1435ab added sandbox support for paypal transaction url 2014-08-21 19:48:28 -03:00
claudiosmweb f4f5f061d8 fixed the paypal process_refund() method 2014-08-21 16:17:12 -03:00
Mike Jolley d87688f857 Simplfy typo 2014-08-21 17:03:16 +01:00
Mike Jolley c829788ebc Set simplify user agent 2014-08-20 16:47:01 +01:00
claudiosmweb eb679fad14 changed the simplify keys order 2014-08-15 11:43:10 -03:00
claudiosmweb 3ad0e63be0 improved the simplify scripts 2014-08-15 11:40:19 -03:00
claudiosmweb d4fb1df412 fixed simplify ssl notification url 2014-08-15 11:20:18 -03:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Mike Jolley da483198f8 Simplify icons 2014-08-15 11:50:53 +01:00
Mike Jolley 7a267d2e31 Simplify Commerce by Mastercard gateway 2014-08-15 11:50:53 +01:00
Mike Jolley 1c3b4fdc5c Deprecate Mijireh - .org repo requested
Closes #6027
2014-08-15 11:50:53 +01:00
claudiosmweb acb0699e94 updated the reason default value 2014-08-11 10:07:09 -03:00
claudiosmweb 066ba904cb added $reason param in WC_Payment_Gateway::process_refund() 2014-08-07 15:57:29 -03:00
Mike Jolley 7475778d05 Workaround for #5962 2014-08-05 21:12:52 +01:00
Mike Jolley e13b54be15 Send order as a whole to paypal with negative line items
Closes #5862
2014-07-31 06:57:17 +01:00
Mike Jolley c465c7235d Merge branch 'credit-notes'
Conflicts:
	includes/abstracts/abstract-wc-order.php
	includes/class-wc-order-factory.php
	includes/class-wc-post-types.php
	includes/wc-formatting-functions.php
	includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
Mike Jolley 8a1d7707ac PayPal implementation of Process_refund()
#3164
2014-07-07 11:44:15 +01:00
splashingpixels 63371ac520 moved h3 bank account title out of UL element for correctness 2014-07-03 11:54:36 -07:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
claudiosmweb db781a14ae added urlencode() in return and cancel_return items in paypal params, closes #5670 2014-06-30 10:51:52 -03:00
Mike Jolley cc1d1e2237 Included method to define a link format for a transaction ID, set transaction ID manually, and tweaked display. 2014-06-27 13:12:10 +01:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
claudiosmweb 2acf0a8c83 fixed two syntax error in paypal gateway class 2014-06-11 14:14:34 -03:00
Coen Jacobs 6cae09335b Store PayPal transaction id through payment_complete method 2014-06-11 16:36:55 +02:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
Mike Jolley e0a74fffc4 implement is_status() 2014-05-30 17:43:21 +01:00
Mike Jolley fca32a98de Implement is_status functions and update_status 2014-05-30 17:16:22 +01:00
claudiosmweb 7ca27a8f80 introduces the wc_get_log_file_path() function 2014-05-28 11:08:33 -03:00
Mike Jolley 1ed0938581 [2.2] Log changes Closes #4926
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Mike Jolley 0ae5385dce state_province is not required for mijireh any longer 2014-05-21 13:31:35 +01:00
Mike Jolley 0a3d9b3949 Send IPN email notifications to new order email.
Closes #4696
2014-05-15 14:35:16 +01:00
Mike Jolley 4fa5ec8310 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/gateways/cod/class-wc-gateway-cod.php
2014-05-08 15:06:20 +01:00
Mike Jolley 1308662946 Option to toggle enable_for_virtual for COD, rather than just doing it.
Closes #5399
2014-05-08 15:05:34 +01:00
Mike Jolley a4b6c4eb4f Merge pull request #5415 from tamarazuk/patch-2
COD: no need to hide in admin
2014-05-08 15:04:55 +01:00
Mike Jolley 53deeb4be5 Cleaned up logic in email_instructions functions for @splashingpixels 2014-05-07 15:54:22 +01:00
Tamara Zuk a9ebcdd8c6 COD: check if cart is available before checking if it needs shipping 2014-05-06 16:04:25 -04:00
tamarazuk ec1b16340b COD: no need to hide in admin
Also fixes a fatal error when WC()->payment_gateways()->get_available_payment_gateways() is called in the admin
2014-05-03 01:32:37 -04:00
Mike Jolley 72849cb4db Stop sending line items to Mijireh Fixes #5365
Like PayPal, Mijireh struggles with out prices including tax due to
rounding errors. Since the validation cannot be disabled, its better to
just send the order as 1 item. This will prevent rounding errors and
payment failures.

Prices excluding tax are unaffected.
2014-05-01 15:29:28 +01:00
splashingpixels 945d4bedc6 gateway COD added instructions to email closes #5385 2014-04-27 21:17:40 -07:00
claudiosmweb d7e26d993c added method to check if order needs shipping in "pay for order" page 2014-04-24 15:33:14 -03:00
claudiosmweb 64a40c8657 removed not defined $wp variable in favor to get_query_var() function 2014-04-24 15:03:33 -03:00
Mike Jolley 6efbf89cd3 [2.2] Hide COD for virtual orders (no shipping) Closes #5369 2014-04-24 16:37:31 +01:00
Akeda Bagus 2a97f07d47 Typo fix. 2014-04-15 22:56:35 +07:00
Mike Jolley ebb6af921c Correctly round shipping + shipping tax together when passes the tax inclusive total to paypal 2014-03-27 12:31:48 +00:00
Mike Jolley 3effa037b4 WC()->api_request_url for PayPal and Mijireh Closes #5183 2014-03-20 11:44:54 +00:00
Mike Jolley 8d33594e6a Convert states to strings for PayPal Closes #5078 2014-03-17 15:23:11 +00:00
Andrew Benbow 2f5fb72a9c Update class-wc-gateway-paypal.php
modify currency error message to include both sent and returned currencies for comparison
2014-03-10 23:23:30 +00:00
Mike Jolley 8971dc0d92 Set default for $plain_text variable. Closes #5051 2014-03-06 11:57:47 +00:00
Mike Jolley 47d1782b7e Resolve conflicts 2014-03-03 11:59:47 +00:00
Mike Jolley c6e63c663b Merge pull request #4998 from BFTrick/plain-text-flag
Add Plain Text Flag Gateways
2014-03-03 10:53:53 +00:00
claudiosmweb 5c540930c9 improved the bacs email instructions 2014-02-28 20:35:40 -03:00
claudiosmweb 08ae8d5416 forced end of line in bank_details method to fix the #4999 2014-02-28 20:31:53 -03:00
Patrick Rauland a76714c0e9 adding plain text email flag to cheque 2014-02-28 16:13:13 -06:00
Patrick Rauland 694c6bb5ef adding plain text email flag to bacs 2014-02-28 16:11:57 -06:00
Patrick Rauland b274171f8c adding wordpress php formatting" 2014-02-28 16:05:43 -06:00
Mike Jolley d8f504849f round mijireh shipping amount 2014-02-26 15:53:32 +00:00
Mike Jolley 4280f5ab78 Limit item name lengths Closes #4922 2014-02-24 14:49:05 +00:00
Mike Jolley f35c3708bb Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
@coenjacobs
2014-02-20 15:41:08 +00:00
Coen Jacobs 1e410ebcdc Code standards for #4856 2014-02-18 12:27:05 +01:00
Gerhard 3a9604bf78 Fix COD warning when you have hide shipping methods until address entered selected 2014-02-18 11:58:52 +02:00
Mike Jolley 3bfbc9dfc5 Fix paypal shipping via text 2014-02-13 16:06:48 +00:00
Mike Jolley fd88ea5201 Buttonsource should be bn
@coenjacobs doesn’t have to be in read me
2014-02-13 12:31:36 +00:00
Mike Jolley 274e78512e Store POST to variable for paypal 2014-01-30 14:47:11 +00:00
Mike Jolley 531ba9ad34 Clean meta values in paypal gateway 2014-01-30 14:47:11 +00:00
Mike Jolley 189271e610 Validate the currency code sent back by paypal 2014-01-30 14:47:11 +00:00
James Koster 006541ae03 tweaked mijireh getting started message 2014-01-29 17:42:59 +00:00
Mike Jolley 39344f2ed5 Allow gateways to change the checkout place order button text on selection. Closes #4573 2014-01-28 11:25:57 +00:00
Mike Jolley 39e45bff42 decompress #4501 2014-01-13 12:22:52 +00:00
claudiosmweb 4efb0919d7 fixed coding standards in includes/gateways/paypal/class-wc-gateway-paypal.php 2013-12-31 10:53:55 -02:00
claudiosmweb bf81f45abc fixed the indentation in includes/gateways/paypal/class-wc-gateway-paypal.php 2013-12-31 10:45:02 -02:00
claudiosmweb 0b13814aac fixed esc_urL() in get_paypal_args method 2013-12-31 10:43:48 -02:00
Mike Jolley cdb1ad5e9e On cancel, use cart page unless otherwise defined. Closes #4375 2013-12-30 14:09:50 +00:00
Coen Jacobs b5a4a9e602 Removed duplicate description key. Closes #4357 2013-12-12 14:36:13 +01:00