Mike Jolley
8a42b1c211
Revert earlier change where PayPal IPN was on or off depending on PDT.
...
Because IPN is used for future events such as refunds it should not be
disabled. @claudiosmweb
2015-01-28 17:15:48 +00:00
Mike Jolley
7e1ca1d3a3
Option to choose EITHER PDT or IPN
...
Closes #7208
2015-01-26 12:58:33 +00:00
Mike Jolley
db13b2224f
Fix refund class
2014-11-20 15:03:46 +00:00
Mike Jolley
e630e64cb7
Flat rate shipping tweaks + inline instructions
2014-11-19 22:22:35 +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
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
0a3d9b3949
Send IPN email notifications to new order email.
...
Closes #4696
2014-05-15 14:35:16 +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
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
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
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
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Mike Jolley
417651d579
Check for valid post type/products when setting up data
2013-11-27 16:03:54 +00:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Coen Jacobs
f7df17db1c
Order functions woocommerce to wc refactor
2013-11-25 14:54:52 +01:00
Mike Jolley
3fd02a57d0
Locales - store standardised values, and display using locale in admin #3862
2013-11-12 17:43:30 +00:00
Mike Jolley
e143d344e5
Constants
2013-10-24 19:36:22 +01:00
Mike Jolley
a112cb1d7d
Consistant method names Closes #3901 , return doubles instead of number formatted strings.
2013-10-17 12:43:44 +01:00
Remi Corson
493f3bffe3
Added Russian Rubles to PayPal valid currencies list
2013-09-24 12:41:23 +02:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Mike Jolley
0b8dd0476c
PayPal PDT handler Closes #3414
2013-08-19 12:28:29 +01:00
Mike Jolley
759e49a60b
Correctly format product names in paypal. Fixes #3308 .
...
@coenjacobs for .14 please
2013-08-19 11:44:41 +01:00
Coen Jacobs
5ebc15cafb
Merge branch 'Dynamic-total-rows'
...
Conflicts:
assets/css/admin.css
2013-08-16 18:21:52 +02:00
Mike Jolley
a66472d148
Order panel improvements + save multiple shipping methods
2013-08-16 16:43:26 +01:00
Mike Jolley
281ed667cf
Handle paypal cancelled reversals
2013-08-15 11:19:30 +01:00
Mike Jolley
815a5e6ff4
PayPal buttonsource
2013-07-23 17:21:24 +01:00
Mike Jolley
81f188b4ca
PayPal authorization feature
2013-07-23 10:18:58 +01:00
Mike Jolley
d51083167a
Sandbox off by default
2013-07-22 13:41:59 +01:00
Mike Jolley
2c8e598371
Fix paypal phone mask (whitespace) Closes #3328 .
2013-07-19 07:00:38 +01:00
Mike Jolley
d30c1ef1e4
'httpversion' => '1.1' possibly needed for paypal - testing
2013-07-17 14:29:42 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00