The attached patch is for commerce kickstart 1.2 as well as the following modules:

commerce_eway 7.x-1.x-dev (2011-Jul-28)
commerce_recurring 7.x-1.x-dev (2012-Jan-24)
commerce_cardonfile 7.x-1.x-dev (2011-Nov-08)

Commerce_recurring uses commerce_cardonfile to handle recurring orders.

This patch adds code to the commerce_eway module so that it can complete recurring payments if eway is set to use Token Payments.

Notes:
- Set cardonfile to use only 1 credit card per customer (not tested with multiple!)
- Set cardonfile to hide the "store card info" checkbox

Comments

thtas’s picture

patch attached

Anonymous’s picture

Status: Active » Needs review

thanks! will look at this during drupalcon denver.

Anonymous’s picture

Status: Needs review » Needs work

before i get into functionality and testing, please review this: http://drupal.org/coding-standards

there are lots of places in the patch that don't meet the coding standards.

thtas’s picture

Oh i didn't really think of that! I ran it through the coder module to try and clean things up a bit. Thanks for letting me know.

berenddeboer’s picture

Status: Needs work » Closed (fixed)

Committed.

thtas’s picture

StatusFileSize
new8.52 KB

Here is an additional patch with fixed for this (to be applied to current 7.x dev)

- Fixed a typo, updated some debug messages
- Added support for the owner field as mentioned in #1505396: Card owner field on payment form
- Fixed the logic around adding new card data

thtas’s picture

Status: Closed (fixed) » Needs review

updating issue status

thtas’s picture

updated patch also includes changes from #1845106: Remove dependency on address fields

rcross’s picture

thtas - please keep separate patches. I won't commit a meta patch like this.

rcross’s picture

Status: Needs review » Closed (fixed)

The original patch here was already committed. Please open a new issue for anything in your updated patches that isn't already open.

rcross’s picture

Issue summary: View changes

updated desc