Commit Graph

210 Commits

Author SHA1 Message Date
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
Mike Jolley 4c0f805edf More input types and settings API support. Closes #1322. 2012-11-20 17:32:50 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Coen Jacobs 3baaf6029a Removed all deprecated classes and functions except for 1.6.x template files and functions 2012-11-08 16:27:47 +01:00
Mike Jolley 9bb52f8bd4 Work around rounding issue 2012-11-07 21:07:03 +00:00
Mike Jolley 54203455ba Set message. Closes #1681. 2012-11-06 11:31:31 +00:00
Mike Jolley 4b68bf78a3 PP clean 2012-10-20 15:40:27 +01:00
Coen Jacobs 9bca393e79 [3.2.3] Classes XSS #1575 2012-10-17 14:46:38 +02:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Justin Stern 56c576d89b PayPal Standard Payment Gateway Custom Order Number Compatibility
Adds support for custom order numbers to the PayPal standard payment
gateway
2012-09-22 23:03:40 -04:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Mike Jolley e9f0a8612f Made paypal use wc-api for IPN 2012-09-12 13:36:34 +01:00
Mike Jolley f2dd830dee tweak message 2012-09-12 13:09:54 +01:00
Mike Jolley aa34dd3714 tit 2012-09-12 13:05:53 +01:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +01:00
Mike Jolley 801c14f4ff exit 2012-09-12 12:09:16 +01:00
Mike Jolley 8d655c28c6 IPN validation 2012-09-12 12:08:35 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 7f3218cc66 Option to enable Cash on Delivery for select shipping methods only. Closes #1437. 2012-09-07 10:49:36 +01:00
Brent Shepherd 45be86cf31 Getting an order id by order key if invoice prefix has changed. #1440 2012-08-27 14:10:37 +10:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 975c701799 utm_nooverride Closes #1382. 2012-08-21 13:49:07 +01:00
Mike Jolley b5b665e9ec More class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 59e6cf9d51 backwards comp. 2012-08-10 14:14:06 +01:00