Mike Jolley
021a242e06
PDT charset conversion
2016-03-17 15:53:13 +00:00
Mike Jolley
05179ea253
Removed debug code
2016-03-15 15:58:15 +00:00
Mike Jolley
5fe501e436
Convert encoding
...
#10562
2016-03-15 15:58:03 +00:00
Mike Jolley
e664f0f82b
Log PDT data correctly, including payer details
...
Closes #10546
2016-03-15 12:18:52 +00:00
Mike Jolley
29d35151a1
woocommerce_cod_process_payment_order_status filter
...
Closes #10522
2016-03-10 12:30:42 +00:00
James Koster
f926f8e9c9
replaces .png credit card icons with .svg alternatives. closes #9675
2016-03-07 12:15:42 +00:00
Justin Shreve
927941e2ca
Merge pull request #10260 from justinshreve/token-api
...
Payment Token API
2016-03-04 04:34:41 -08:00
Justin Shreve
cb68f41ed0
Fix up based on Mike's feedback:
...
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Mike Jolley
fab1f224c6
When creating new order from draft, assume 'pending' for status transitions
...
Fixes #10461
2016-03-03 13:51:04 +00:00
Justin Shreve
0985292a79
Make sure the tokenization script is output even if the current user is logged out (we still show save payment method if user is creating account).
2016-03-01 11:49:42 -08:00
Justin Shreve
75f2e6b85c
Fix up some comments and add uninstalling code.
2016-03-01 11:49:42 -08:00
Justin Shreve
c0b74296ff
* Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck
...
* Fix up some comments to match other comments in the WC code base
* Add some missing esc_* functions
* Add a gateway filter to get_customer_tokens + a test for it
2016-03-01 11:49:42 -08:00
Justin Shreve
fa5283d3df
Minify Simplify JS
2016-03-01 11:49:42 -08:00
Justin Shreve
e6a527547f
Add the ability for gateways to override the "new payment method" label.
2016-03-01 11:49:42 -08:00
Justin Shreve
31bae0c19e
Hook up the tokenization API to the "add payment method" button in my account settings.
2016-03-01 11:49:41 -08:00
Justin Shreve
2e73486004
Add minified simplify js.
...
Enable payment gateways to show/force CVC on saved gateways.
2016-03-01 11:49:41 -08:00
Justin Shreve
898242c34d
Integrate simplify with the token API to save cards/customer data and use a saved card.
2016-03-01 11:49:40 -08:00
Justin Shreve
eff4e297f9
First pass at showing saved payment methods on checkout
2016-03-01 11:49:40 -08:00
Mike Jolley
6f04ff1fa0
Replace size with length
...
Fixes #10444
2016-03-01 13:08:25 +00:00
Mike Jolley
1fecd7efe2
If shipping < 999.99, use 'shipping' arg when passing values to PayPal.
...
Closes #9852
2016-02-08 13:10:15 +00:00
Claudio Sanches
899d961dd9
Improved WC_Gateway_Paypal::get_icon_url() for #10084
2016-01-21 19:28:14 -02:00
Shohei Tanaka
70be00cbf7
Modification of PayPal link errors and redirect
...
Those countries are redirect from paypal-popup to home.
BE,CZ,DK,IT,NL,NO,SE,ES
Those countries are error happened.
HU, JP, TR
2016-01-16 14:15:42 +09:00
Claudio Sanches
870ecfea11
Merge pull request #9991 from frozzare/docs/class-wc-simplify-commerce
...
Improve docblock comments in Simplify Commerce classes
2016-01-06 11:30:49 -02:00
Claudio Sanches
a1871e288c
Merge pull request #9990 from frozzare/docs/class-wc-gateway-paypal
...
Improve docblock comments in WC_Gateway_Paypal classes
2016-01-06 11:30:37 -02:00
Claudio Sanches
5e8764630d
Merge pull request #9989 from frozzare/docs/class-wc-gateway-bacs
...
Improve docblock comments in WC_Gateway_BACS
2016-01-06 11:30:22 -02:00
Mike Jolley
918b84ee3a
Strip tags from subject
...
#9706
2016-01-06 12:38:22 +00:00
Fredrik Forsmo
2bee73f031
Improve docblock comments in Simplify Commerce classes
...
* Added comment to `get_icon` method
* Added missing return tag to `is_available` method
* Fix return type typo `wp_error => WP_Error`
* Renamed integer to int
2016-01-05 20:27:24 +01:00
Fredrik Forsmo
9ae4f4e7ab
Improve docblock comments in WC_Gateway_Paypal classes
...
* Added comments to `get_icon` method
* Added missing param tags to various methods.
* Renamed integer to int
* Renamed boolean to bool
2016-01-05 20:19:12 +01:00
Fredrik Forsmo
60b27d4168
Improve docblock comments in WC_Gateway_BACS
...
* Added comment to `generate_account_details_html`
* Added missing param tags to `thankyou_page` and `bank_details`
* Removed new line after docblock before `get_country_locale`
2016-01-05 20:02:31 +01:00
Shiva Poudel
66e3581308
Tweak paypal gateway docblocks and comments
2016-01-05 11:08:01 +05:45
Claudio Sanches
3cbe88082f
Fixed simplify commerce admin notices position, closes #9911
2015-12-28 16:07:05 -02:00
Mike Jolley
f408dcdabc
RAW escape return URLs in PayPal Standard
...
Tested with default and pretty permalinks. Fixes #9638
2015-11-27 14:00:14 +00:00
Mike Jolley
d03020d7c6
escape and add to both notifications
2015-11-27 13:04:24 +00:00
David Anderson
febaeb8b63
Include link to order in PayPal refund email, for convenience
...
Includes a link to the relevant order in the PayPal refund email, so that the shop owner doesn't have to manually bring up the dashboard, search the for order, and click through.
2015-11-25 22:07:52 +00:00
Mike Jolley
4595befb76
Pass product type with variation bulk edit
...
Closes #9570
2015-11-17 15:25:48 +00:00
Mehdi Esmaeili
101c7f47e1
Better Documentation: Put throws tag
2015-11-17 16:21:42 +03:30
Claudio Sanches
1512d448c1
Removed name param from SimplifyCommerce.generateToken
2015-11-09 22:49:53 -02:00
roykho
84436f4a11
Fix hosted payments address fields were not passing to simplify
2015-11-09 16:37:55 -08:00
roykho
b49b0b0133
Fix - address fields were not properly being passed to Simplify via token
2015-11-09 15:36:52 -08:00
Scrutinizer Auto-Fixer
08efaf84df
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-05 16:05:03 +00:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Gabor Javorszky
2fce596b25
Fix docblock for validate_receiver_email
2015-10-30 15:11:41 +00:00
Mike Jolley
871c8591f0
Number format the discount
...
Closes #9462
2015-10-29 15:23:34 +00:00
Claudio Sanches
4f9e4a87e8
Updated Simplify Commerce lib to version 1.2.0, closes #9420
2015-10-26 11:27:14 -02:00
Mike Jolley
97e28d7f49
Added wc_checkout_is_https() function helper and added to simplify class
...
Closes #9408
2015-10-22 12:30:30 +01:00
Ewout Fernhout
ab85ebfbc4
check if product exists
...
fixes #9363
2015-10-15 09:43:53 +02:00
Claudio Sanches
eef347a5ad
Added textdomain to PayPal refund error message
2015-10-06 11:03:49 -03:00
Mike Jolley
54d5fc20ab
Improve refund error messages for PayPal
...
Fixes #8945
2015-10-06 14:43:36 +01:00
Silicon Forks
b73fce8dca
Trim leading plus sign and "1" digit from US/CA phone numbers
...
Fixes #9156 .
2015-09-17 18:58:49 -03:00
Claudio Sanches
8ed7754e49
Fixed strings with "MasterCard", closes #9142
2015-09-15 22:06:02 -03:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Mike Jolley
d4c8611ec8
Merge pull request #8972 from didi3r/patch-1
...
Hide "Our Bank Details" heading when no bacs registered
2015-09-02 12:24:22 +01:00
Mike Jolley
2023910400
Log refund response.
2015-09-02 11:36:42 +01:00
Didier Pérez
8bbb0f2878
Hide "Our Bank Details" heading when no bacs registered
...
The heading "Our Bank Details" is shown in emails even if there are not bacs registered. This fix prevent that.
2015-08-27 13:33:32 -05:00
Brent Shepherd
f52316856c
Fix changing failing subscription payment method
2015-08-20 13:51:08 -07:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Mike Jolley
a0be65596f
COD: remove shipping check if the cart is 100% virtual.
...
@claudiosmweb
2015-08-13 23:54:16 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Mike Jolley
f19ba7a755
Send line item when no name is set
...
Closes #8666
2015-07-28 11:41:37 +01:00
Brent Shepherd
aaaa5720f3
Simplify: Add support for multiple subscriptions
...
Nothing to see here. Easiest feature support ever.
2015-07-24 18:18:00 -07:00
Brent Shepherd
694929b0bf
Simplify: Update change failling payment method
...
For Subscriptions v2.0.
* Use new 'woocommerce_subscription_failing_payment_method_updated_' hook
* Use new wcs_is_subscription() method to run process_subscription() when the
transaction is for a subscription object.
* Save the card and customer IDs on the 'shop_subscription' post from the renewal
order rather than saving it on the order which purchased the subscription.
2015-07-24 18:17:57 -07:00
Brent Shepherd
e6ccf437e9
Simplify: Update order_contains_subscription()
...
To use Subscriptions 2.0 methods to avoid deprecated notices and move
use of old methods to WC_Addons_Gateway_Simplify_Commerce_Deprecated
2015-07-24 18:17:57 -07:00
Brent Shepherd
73999c5daf
Simplify: Remove meta from resubscribe orders
...
In Subscriptoins v2.0. Also deprecate the removal of it in 1.n, where
resubscribe orders were called "parent renewal orders".
2015-07-24 18:17:57 -07:00
Brent Shepherd
089485b3bf
Simplify: Update renewal payments for Subs v2.0
...
* Add new save_subscription_meta() method to allow us to save customer ID both
in Subscriptions 1.n on the original order and in 2.0 on the subscription/s
created for the order)
* Use the new 'woocommerce_scheduled_subscription_payment_simplify' hook and
deprecate use of the old 'scheduled_subscription_payment_simplify' hook by
moving it to the WC_Addons_Gateway_Simplify_Commerce_Deprecated class
* Use core WC methods on the renewal order passed to scheduled_subscription_payment()
to process the payment rather than having to call special Subscriptions API methods
like WC_Subscriptions_Manager::process_subscription_payments_on_order() and
WC_Subscriptions_Manager::process_subscription_payment_failure_on_order()
* Use the original order's total to determine the amount to charge up-front to
save having to call WC_Subscriptions_Order::get_total_initial_payment()
* Use a description for recurring payments that is consistent with standard orders,
i.e. "{Site Name} - Order {order_id}" instead of a description that does not include
the renewal order's ID. This helps link payments to orders (which can then be traced
to subscription/s).
2015-07-24 18:17:36 -07:00
Brent Shepherd
4c8e3788b3
Simplify: Support admin payment method changes
...
A new feature of Subscriptions v2.0.
2015-07-24 18:17:28 -07:00
Brent Shepherd
e689fe8f15
Add WC_Addons_Gateway_Simplify_Commerce_Deprecated
...
To manage compatibility with Subscriptions 1.n
2015-07-24 18:06:35 -07:00
Claudio Sanches
1614696996
Fixed duplicated docblock
2015-07-22 12:05:25 -03:00
Claudio Sanches
6cac5e0f47
PayPal - Remove decimals when order currency is HUF, JPY or TWD, closes #8590
2015-07-22 11:43:12 -03:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Mike Jolley
6676ed08fa
500 response on IPN fail
...
Closes #8519
2015-07-06 17:48:46 +01:00
Mike Jolley
18c6a940f1
Merge branch 'onboarding'
...
Conflicts:
assets/css/admin.css
assets/css/select2.css
assets/css/woocommerce-layout.css
assets/css/woocommerce.css
assets/js/admin/order-backbone-modal.min.js
includes/admin/class-wc-admin-help.php
includes/admin/class-wc-admin.php
includes/admin/views/html-admin-page-status-report.php
includes/admin/views/html-notice-install.php
includes/admin/views/html-notice-template-check.php
includes/admin/views/html-notice-theme-support.php
includes/admin/views/html-notice-tracking.php
includes/class-wc-install.php
includes/class-wc-language-pack-upgrader.php
includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Andrew Wikel
968586f2ed
Update to reflect current PayPal menu structure
...
Just update instructions to be more accurate.
2015-07-01 14:53:16 -05:00
Diego Zanella
1faae5f4f5
Fixed reference in PayPal IPN class
...
* Using __CLASS__ in valid_response() prevents inheritance, as __CLASS__ is always resolved as the parent class. A descendant class would have to copy/paste the whole block of code for it to work correctly. Solution: replaced it with $this, as the valid_response() method is not static, and neither are any of the "payment_status_" methods.
2015-06-10 19:17:37 +01:00
Mike Jolley
f3951a7490
[2.3] Fallback to serialized data if safe.
2015-06-10 18:28:34 +01:00
Mike Jolley
21773ff9ba
[2.3] JSON encode/decode PayPal response
2015-06-10 18:28:33 +01:00
Claudio Sanches
fa026ea49d
Normalize the "Order #" #8305
2015-06-10 12:09:18 -03:00
Claudio Sanches
9eb3b6ddf9
Changed all requests with wp_remote_* to wp_safe_remote_*
2015-06-01 13:28:55 +01:00
Ben Bidner
1aa020ca57
fixes undefined constant ('error_code' > '$error' typo)
2015-06-01 12:52:01 +01:00
Claudio Sanches
88596b595e
Improved PayPal get_icon_url() method
2015-05-27 13:23:21 -03:00
Mike Jolley
4fd9e1daf2
[2.3] Improved get_icon_url()
...
Closes #8211
2015-05-27 17:13:36 +01:00
Mike Jolley
cc213de455
Add note and system status link to PP settings
...
Closes #8158
2015-05-15 14:50:48 +01:00
Mike Jolley
d19117a108
When paypal payment is on hold, reduce stock and empty cart.
...
Closes #8145
2015-05-13 14:28:17 +01:00
Claudio Sanches
431768df61
Improved the paypal logo for JP, closes #8119
2015-05-06 18:17:19 -03:00
Mike Jolley
5a92126a39
Remove all sslverify false
...
Closes #8058 cc @claudiosmweb @roykho @barrykooij
2015-05-05 13:39:34 +01:00
Mike Jolley
5f67a63b43
woocommerce_paypal_refund_request filter
...
Closes #8111
2015-05-05 12:29:07 +01:00
Mike Jolley
0e66f85efe
Merge pull request #8092 from roykho/paypal
...
log paypal standard transaction fees closes #8091
2015-05-01 15:34:32 +01:00
Mike Jolley
3b3845872f
Change deprecated args
...
Closes #7210
2015-05-01 14:52:51 +01:00
roykho
c23b68dc93
revised to not hide meta and sanitize
2015-04-30 21:05:46 -07:00
roykho
7c074c75e2
log paypal standard transaction fees closes #8091
2015-04-30 20:29:02 -07:00
Mike Jolley
54fa1e34d3
Show notice when pages don't exist, and set gateway defaults
2015-04-29 13:21:01 +01:00
Claudio Sanches
298d5e90ed
[2.3] Fixed paypal about URL for Switzerland #8030
2015-04-27 10:37:35 -03:00
Claudio Sanches
ed919ae2f5
[2.3] Fixed paypal about URL for Malta, closes #8030
2015-04-24 10:41:13 -03:00
MindyPostoff
7418fd6c8d
Update class-wc-gateway-cod.php
...
Prevent confusion that "Enable COD for virtual orders" will actually enable the payment method
2015-04-22 16:41:51 -04:00
Claudio Sanches
a344fae67f
Improved simplify commerce for free subscriptions
2015-04-15 09:55:35 -03:00
Claudio Sanches
8914594534
Fixed the simplify subscription payment when is a free trial
2015-04-15 09:48:56 -03:00
Claudio Sanches
1dadbb2842
Fixed coding standards for #7879
2015-04-13 12:37:22 -03:00
Claudio Sanches
14ed7137d2
Fixed subscription free trial period for simplify commerce
2015-04-13 10:46:11 -03:00
Andrew Benbow
196448dc0b
Update class-wc-gateway-paypal-request.php
2015-04-11 16:14:27 +01:00
Andrew Benbow
45c76cd0cb
Update class-wc-gateway-paypal-request.php
2015-04-10 15:47:28 +01:00
Mike Jolley
2e2ec824f0
Set field required class
...
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley
33d94aaea4
[2.3] Use single logging method for paypal classes
...
Closes #7801
2015-04-09 12:00:42 +01:00
Danny van Kooten
88f2e690bb
Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ).
2015-04-03 14:21:47 +02:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Diego Zanella
7f525c30ce
Modified PayPal Standard gateway to make it easier to extend
...
* Replaced all "private" properties and methods with "protected" ones. This will make it easier to extend the gateway classes, without having an impact on its normal usage.
2015-03-19 18:26:28 +00:00
Mike Jolley
6165d509c7
Use debug option, not testmode
...
Fixes #7696
2015-03-13 09:38:09 +00:00
Sam Bohler
91e313b924
Fixed DocBlock annotations
2015-03-12 16:39:47 -04:00
Brent Shepherd
028cea41d3
Make sure Simplify customer ID is set on renewals
...
So that if the renewal is for a failed payment, the the new value is set
on the renewal order's `'_simplify_customer_id'` post meta value and can
be copied back to the original order in `update_failing_payment_method()`.
2015-03-11 14:50:25 -07:00
Brent Shepherd
6d339241a2
Catch exception on renewal payment with Simplify
2015-03-11 14:49:57 -07:00
Dean Taylor
a841817b6a
Fix "Undefined index: test_ipn" PHP notice
2015-03-05 22:58:22 +00:00
John Clause
6c9f863c04
replaced get_bloginfo('name') with get_bloginfo('name','display')
2015-02-17 20:56:18 -07:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Claudio Sanches
e770d1a2e5
Fixed extra spaces
2015-02-13 17:14:12 -02:00
Claudio Sanches
74d8d4ed61
Fixed the PayPal URL for ZA, closes #7417
2015-02-13 16:02:00 -02:00
Claudio Sanches
0c6e079690
Simplify commerce default payment mode as standard
2015-02-13 12:04:05 -02:00
Mike Jolley
afff86c033
Pass correct shipping cost to PayPal.
2015-02-11 22:17:58 +00:00
Mike Jolley
b2e979640c
Removed unused vars
2015-02-03 16:24:01 +00:00
Scrutinizer Auto-Fixer
de06d17c6d
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-02-03 14:32:10 +00:00
Mike Jolley
16eb1facd9
Add link to payment_status_canceled_reversal Closes #7267
2015-02-02 14:49:30 +00:00
Brent Shepherd
3702b77c74
Fix "Undefined variable: identity_token"
...
And make sure the identify token is passed to `WC_Gateway_Paypal_PDT_Handler`
2015-01-28 10:59:48 -08:00
Mike Jolley
f3cc45cfa9
Grammar corrections
...
Closes #7216
2015-01-28 17:15:48 +00:00
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
Claudio Sanches
b55ecea6ba
Used wp_unslash() instead of stripslashes_deep()
...
The WordPress documentation recommends:
"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
Claudio Sanches
22da603567
Simplify commerce hosted payments feature
2015-01-13 13:40:43 -02:00
Claudio Sanches
9a6dc0bf41
Added select2 for all settings fields
2015-01-12 15:45:47 -02:00
Mike Jolley
50c6e1e4a0
select2 settings
2015-01-12 16:29:01 +00:00
Claudio Sanches
0376da2ea9
Added hosted payments support for pre-orders and subscriptions
2015-01-12 11:43:27 -02:00
Claudio Sanches
b7eafa1c49
Added the new redirect-url param in the simplify commerce button
2015-01-12 09:53:19 -02:00
Claudio Sanches
7cf69a337b
Updated the hosted payments option description on simplify commerce gateway
2014-12-12 01:56:28 -02:00
Claudio Sanches
cb7cd8f765
Fixed the process order status method in simplify commerce
2014-12-10 15:04:57 -02:00
Claudio Sanches
e8a347ed18
Created the simplify commerce hosted payments return handler
2014-12-10 10:07:45 -02:00
Claudio Sanches
1da03a170c
Created initial simplify commerce hosted payments flow and options
2014-12-09 17:11:55 -02:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley
5f77ee752e
Merge pull request #6814 from bryceadams/patch-6026
...
#6026 - Introduction of Sort Code 'locale' for BACS
2014-11-26 16:23:40 +00:00
Bryce
8f89ef9c0b
Remove locales with 'Sort Code'
...
Wrong swamp
2014-11-26 23:03:48 +07:00
Mike Jolley
626d7f4256
Moved email methods to emails class
2014-11-26 00:03:00 +00:00
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
Bryce
3fd7997413
Move locale to new method in BACS gateway
2014-11-24 21:26:33 +07:00
Bryce
6dad8fdc59
#6026 - Introduction of Sort Code 'locale' for BACS
...
In the admin, it will use the store’s base country to determine the
term for ‘Sort Code’.
In the front-end, it will use the customer’s billing country to
determine the term for ‘Sort Code’.
In all cases, if a locale does not have a sortcode label set, it will
use ‘Sort Code’.
**Locales have been added for:**
* AU
* CA
* IE
* IN
* IT
* NZ
* SE
* US
* GB
* ZA
But may need adjusting based on user feedback.
2014-11-21 16:10:12 +07: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
b3782fa1a5
Removing Mijireh from core 2.3
2014-11-18 16:37:43 +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
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