Commit Graph

236 Commits

Author SHA1 Message Date
Coen Jacobs ef2edd5de7 Merge pull request #3288 from woothemes/core-class-refactor
Further core class refactor
2013-06-11 02:48:55 -07:00
swicks 63aa35d0ab BACS title & description missing from Payments Gateways admin settings & frontend 2013-06-09 08:02:26 +01:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs 3880fc95b1 Stripped out older deprecated junk 2013-06-06 14:16:00 +02:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Coen Jacobs b3f05bdd66 Abstracted inline JS helper to class #3282 2013-06-05 13:51:06 +02:00
Mike Jolley c8d07b076b PayPal log 2013-06-03 16:07:18 +01:00
Mike Jolley 304f006566 Better filter. Closes #3249 2013-05-31 16:44:09 +01:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Mike Jolley c1483daee5 Hide pay buttons, and block the page correctly. Closes #3235. 2013-05-28 15:44:58 +01:00
Mike Jolley 53e9dd6368 Handle pending IPN requests. Closes #3192 2013-05-22 13:28:13 +01:00
Mike Jolley 45732d49d0 Define account fields once, and pass order ID during filter. Closes #3201 2013-05-22 12:20:50 +01:00
Mike Jolley 02c754b674 * Fix - Rounding for mijireh tax ex. price. 2013-05-22 11:22:54 +01:00
Mike Jolley 71e67e97f4 Limit items sent to paypal to 9 Closes #3124.
@coenjacobs
2013-05-13 14:18:10 +01:00
Mike Jolley 2aa523fc13 COD processing instead of on-hold Closes #3102 2013-05-10 12:44:05 +01:00
Coen Jacobs 00cbde04e5 PayPal button should use 'button' and 'alt' classes. Closes #3096 2013-05-07 13:02:45 +02:00
Gerhard 38d892b14e esc_js translatable strings to avoid js breaking on quote chars 2013-05-06 15:17:04 +02:00
Mike Jolley f07df1aa39 Remove loader and change zindex Closes #3057 2013-05-01 13:35:48 +01:00
Benjamin Rojas c755f6e7a6 Change log: Fixes possible race condition between setting page to public and starting the slurp 2013-04-26 11:36:55 -07:00
Benjamin Rojas 15b51f89be updated mijireh integration to work with page slurp updates
- no longer passing the HTML
- passing the page id for api notification
- catching the end of slurp notification to reset slurped page to private
2013-04-25 11:10:24 -07:00
Mike Jolley 8d2c2b5368 Missing textdomains 2013-04-17 16:03:27 +01:00
Coen Jacobs 0ad75a6d44 Revert "Update class-wc-gateway-bacs.php"
This reverts commit cc8e4960fe.
2013-04-16 11:58:03 +02:00
Andrew Benbow cc8e4960fe Update class-wc-gateway-bacs.php
Make bank detail labels filterable in BACS admin
2013-04-16 10:48:24 +02:00
Brent Shepherd a736cb90a3 Show accurate log name for PayPal 2013-04-12 12:01:19 +10:00
Mike Jolley 02beffda1f Sandbox fix. #2833 2013-03-27 22:39:55 +00:00
Lucas M Pereira 89b42253d5 Issue #2826 - PayPal Payment Data not stored
PP Payment Details aren't being stored on posts meta table, because of a probably misstyped
variable on class-wc-gateway-paypal.php, in the function successful_request (Lines 658 to 666).

Replaced $order_id (non existent variable) by $order->id to correct the issue.
2013-03-26 17:48:24 -03:00
Mike Jolley 497d565d95 Pass subtotals and discount to avoid rounding issues in paypal Closes #2806. 2013-03-25 14:46:15 +00:00
Brady Vercher 5ea4bd3ac4 Fix Mijireh checkout typo. 2013-03-18 11:09:08 -07:00
Mike Jolley 43cc129942 PayPal standard gateway - no longer needs sandbox fix, and notify-validate should be first in the requests. 2013-03-13 11:58:47 +00:00
Mike Jolley 2da3900d2c Receiver email option. #2666 2013-03-11 10:36:51 +00:00
Mike Jolley 6f238650d1 Fix the page slurp 2013-03-10 14:33:27 +00:00
Mike Jolley 2cb9363c22 Put order on-hold which fail email address validation, rather than reject IPN completely. Closes #2653. 2013-03-10 13:51:59 +00:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Mike Jolley f5f01c497e Changes for API Docs 2013-02-20 17:14:51 +00:00
Brent Shepherd 1c4c5d8da4 Add deprecated WC_Paypal class
WC_Paypal was removed in 2.0 in favour of WC_Gateway_Paypal, this
patch deprecates the original WC_Paypal class & returns an instance
of the WC_Gateway_Paypal object instead of potentially causing a
fatal error.
2013-02-12 16:46:56 +10:00
Mike Jolley 61587d925c woocommerce_paypal_supported_currencies hook #2372 2013-02-08 15:18:59 +00:00
Mike Jolley f7dd3eea65 Strings. Closes #2385. 2013-02-08 15:11:10 +00:00
Mike Jolley 2a462edc33 Support desc_tip in settings api Closes #2251. 2013-01-18 12:10:25 +00:00
Mike Jolley 2a71d08d44 Wrong email in paypal #2184 2013-01-10 16:03:56 +00:00
WP Lab 1b3b92d1fe Fixed fatal error in paypal gateway
This line should contain use $response instead of the not existing $result.

The error only occurs when debugging is enabled and the communication with Paypal API failed for some reason. But in this case, it results in a fatal php error: Call to a member function get_error_message() on a non-object
2013-01-04 22:51:54 +01:00
Mike Jolley 8c821a86ab Stop infinite loop bug #1765 2013-01-02 13:38:33 +00:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley 144bd5c054 Settings API - get_option to load setting value or get default (to prevent notices and remove the need to load form fields during construct). #1765 2012-12-31 12:07:48 +00:00
Jesús Ángel del Pozo Domínguez 425cf474f8 Yoda conditions for debug tests:
Before:
	if ( $this->debug == 'yes' )
After:
	if ( 'yes' == $this->debug )
2012-12-27 11:44:58 +01:00
Jesús Ángel del Pozo Domínguez 47db520256 Edited code in last commit to obey WP coding standards.
Fixed wrong HTML code generated when the gateway isn't valid in the
user's country. The div tag couldn't be placed inside table tag:

<table class="form-table">
	<div class="inline error"><p> ... </p></div>
</table>
2012-12-27 11:20:04 +01:00
Jesús Ángel del Pozo Domínguez 404ccaad63 Check for spoofed IPN response 2012-12-26 22:45:53 +01:00
Coen Jacobs 7b5e74626a Remove pass by reference for objects
Done all files except for external libaries: shareyourcart, cssmin,
lessc

@mikejolley Should we update those libraries as well?
2012-12-15 12:53:32 +01:00
Mike Jolley 574f145a4c Tax inclusive prices for mijireh prevents rounding errors. 2012-12-12 10:46:36 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs 930a36e90c Filter to provide icon to COD. Closes #1831 2012-11-26 12:48:19 +01:00