- Sep 04, 2014
-
-
Jeremiah Davis authored
Removing code which disables a Pay Form when the related Pay enabled node is deleted. Pay forms can have their own callback or be used in multiple places.
-
- Mar 21, 2012
-
-
Jeremiah Davis authored
-
Jeremiah Davis authored
-
Jeremiah Davis authored
-
Jeremiah Davis authored
Removing pass by reference for $form as this was causing issues with saving forms in Drupal 7 on PHP 5.3. Also removed the destination argument and form code as this was rendered in operable. This code was originally added for Donate to direct users back to the donate form listing after adding or editing a donation form. This is now being handled in the submit method for Donate.
-
- Nov 06, 2011
-
-
-
-
-
Allie Micka authored
-
Allie Micka authored
-
Allie Micka authored
-
- Oct 24, 2011
-
-
Allie Micka authored
-
-
Allie Micka authored
-
-
- May 09, 2011
-
-
Allie Micka authored
-
Allie Micka authored
-
Allie Micka authored
-
- May 06, 2011
-
-
Allie Micka authored
-
- Apr 21, 2011
-
-
Allie Micka authored
-
- Apr 19, 2011
-
-
Allie Micka authored
Add a form handler selection for views. This provides a user-selectable list of pay_form handlers during views configuration.
-
Allie Micka authored
When querying for a list of payment forms filtered by handler, ensure that the subclasses of that handler are also included. This allows you to be extend a pay_form handler without having its entries omitted from the list.
-
Allie Micka authored
-
Allie Micka authored
Update handling of currency-setting. Allow users to update global currency _only_ if there are no existing transactions that use the currency. This means you can futz with currencies all you like, until you've started creating transactions.
-
Allie Micka authored
Add a set_currency() function to pay_transaction. Defaults to $pay_form's currency (which in turn probably defaults to the globally-selected currency).
-
Allie Micka authored
Add a currency_list() method for payment forms. By default, this will only return the globally-available currency. If an as-yet-unwritten module variable_sets pay_currency, it will also return a list of currencies supported by its payment methods.
-
Allie Micka authored
Rewrite pay_currency_list() so that it's not using a hard-coded list of USD & EUR (how presumptuous!) Instead, create a superset of all currencies supported by all payment method handlers installed on the site.
-
Allie Micka authored
Add an available_currencies() method to pay_method. The expectation is that all payment methods implement this to identify the currencies that they support.
-
Allie Micka authored
-
Allie Micka authored
- Always save transactions when an activity fires
-
Allie Micka authored
-
Allie Micka authored
-
Allie Micka authored
-
Allie Micka authored
As it turns out, we do use the 'authorize' action for more than just pay_method_gateway. Re-add it to pay_method, and re-remove it from pay_method_custom.
-
Allie Micka authored
Move some functions around for cleanliness. Make sure that payment method values get sent to the gateway provider correctly.
-
- Apr 18, 2011
-
-
Allie Micka authored
Refactor the form_submit function for direct payments: Do not assume that all submissions will use this payment activity, and do not rely on form submissions to collect and store values.
-
Allie Micka authored
Add set_direct_pending(), which will do most of what a gateway needs it to do - which is save its submitted data and set the current activity to 'pending'. The expectation is that the 'response' will create a second activity after the customer has completed payment on the gateway site.
-
Allie Micka authored
-
Allie Micka authored
Optionally pass in an array of values to payment actions. On pay_form submissions, populate this with the values submitted for a particular payment method.
-
- Apr 15, 2011
-
-
Allie Micka authored
Implement views handling for payment transaction states, which allows filtering/sorting/aurgumenting/fielding of said states. Add some helper functions to pay.module to help facilitate this.
-