Commit Graph

197 Commits

Author SHA1 Message Date
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
Mike Jolley 277c55d596 Swapped invoice and custom in paypal and added prefix. Closes #1149. 2012-08-10 14:14:05 +01:00
Kay.L c4a040cfd2 add trailing space to 'Shipping via'
On the Paypal.com checkout page, there is missing a trailing space on the text "Shipping via".

Before patch:
Shipping viaInternational Delivery


After patch:
Shipping via International Delivery
2012-08-08 03:22:14 +08:00
Mike Jolley 07e2d50363 PayPal standard: No longer using shipping_1 2012-07-27 13:59:51 +01:00
Mike Jolley 5845b37ca2 settings api 2012-07-26 15:11:29 +01:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Mike Jolley b1b9e57fad User the mailer class. Closes #1255. 2012-07-17 15:36:08 +01:00
James Collins 8fd4b636af 1.6.0 beta 1 version number updates
Corrects deprecated function version number, and plugin version number.
2012-07-17 12:54:42 +10:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Coen Jacobs 863918f7f4 Revert "Moved # character in translatable order strings. Closes #1161"
This reverts commit f6c83fe6aa.
2012-06-20 19:18:16 +02:00
Coen Jacobs f6c83fe6aa Moved # character in translatable order strings. Closes #1161 2012-06-20 19:14:33 +02:00
Mike Jolley 99c859ca30 Small save bug with Mijireh 2012-06-14 17:25:49 +01:00
Arnaud CHEMINAND 5407936b6c Correcting 'description' on line 173 2012-06-12 17:22:14 +03:00
Mike Jolley 1443e07122 format phone. Closes #1076. 2012-06-10 10:44:13 +01:00