Commit Graph

275 Commits

Author SHA1 Message Date
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