Commit Graph

95 Commits

Author SHA1 Message Date
Mike Jolley 3c82331a8b Store discount 'tax' to show discounts on prices including tax more accuratly
Also deprecated some functions named after having 2 levels of discounts.
2014-11-25 13:05:03 +00:00
Mike Jolley 4a8c541fbf Remove 'order' discounts from classes 2014-11-25 11:05:14 +00:00
Mike Jolley db13b2224f Fix refund class 2014-11-20 15:03:46 +00:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
Mike Jolley e630e64cb7 Flat rate shipping tweaks + inline instructions 2014-11-19 22:22:35 +00:00
claudiosmweb 9b16425142 Fixed some coding style issues 2014-11-19 17:01:06 -02:00
Mike Jolley ef7693cb4b valid_response method 2014-11-19 18:26:29 +00:00
Mike Jolley 263134d395 ob_clean and header is unnecessary - default is 200 2014-11-19 18:26:29 +00:00
Mike Jolley 1e217758fc Fix IPN response 2014-11-19 15:00:05 +00:00
Mike Jolley ca37524fe6 woocommerce_get_paypal_order filter
@thenbrent this should cover subscriptions needs
2014-11-19 15:00:05 +00:00
Mike Jolley 0ad1e05e23 Split PayPal class into separate classes for IPN and PDT and refund handling 2014-11-19 15:00:05 +00:00
Mike Jolley 83cd831e1a can_refund_order/limit_string_length methods 2014-11-18 16:53:03 +00:00
Mike Jolley 003094c9c3 Ensure remaining hashes are translated Closes #6518 2014-11-18 16:29:21 +00:00
Mike Jolley 387296a807 More PayPal line item tweaks 2014-11-18 16:13:41 +00:00
Mike Jolley a39353fc73 Split up line item methods in paypal 2014-11-18 13:46:55 +00:00
Mike Jolley e68353da63 Use one variable for endpoint in paypal 2014-11-18 13:46:55 +00:00
Mike Jolley 2e9f02932d Simplify get_icon() method 2014-11-18 13:46:55 +00:00
Mike Jolley 74b93b8c67 Moved paypal settings to file 2014-11-18 13:46:55 +00:00
Mike Jolley dc3aca2d06 Simplify logging and get_paypal_order(). Removes < 2 bw compat
@thenbrent this removes the old IPN handling legacy code. Is this
something that may affect subscriptions? I believe that IPN code was
for WC < 2.0 when we used to send back a string/integer in ‘custom’
2014-11-18 13:46:55 +00:00
claudiosmweb a91dd8b516 Fixed missing comma
@mikejolley
2014-11-14 12:09:02 -02:00
Mike Jolley 4b5d22b8e8 Format totals to 2dp when doing paypal checks Closes #6678 2014-11-14 13:17:17 +00: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
mgiulio da0a42be28 Use 'no' to disable the gateway 2014-09-29 12:08:19 +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
thenbrent ac80c8b51c Add a link to PayPal's guide on API Creds 2014-09-02 14:44:17 -07: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
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02: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 8a1d7707ac PayPal implementation of Process_refund()
#3164
2014-07-07 11:44:15 +01: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
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