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
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | commerce_eway-cardonfile-recurring-1484520_4.patch | 23.07 KB | thtas |
| #8 | commerce_eway-cardonfile-recurring-1484520_3.patch | 8.53 KB | thtas |
| #6 | patch_commit_135ea6917ee6.patch | 8.52 KB | thtas |
| #4 | commerce_eway-cardonfile-recurring-1484520_2.patch | 10.19 KB | thtas |
| #1 | commerce_eway-cardonfile-recurring-1484520.patch | 10.15 KB | thtas |
Comments
Comment #1
thtas commentedpatch attached
Comment #2
Anonymous (not verified) commentedthanks! will look at this during drupalcon denver.
Comment #3
Anonymous (not verified) commentedbefore 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.
Comment #4
thtas commentedOh 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.
Comment #5
berenddeboer commentedCommitted.
Comment #6
thtas commentedHere 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
Comment #7
thtas commentedupdating issue status
Comment #8
thtas commentedA new patch with all the changes mentioned in my other tickets and some more bug fixes
this includes the patches from:
#1797326: Stop storing credit card information within the session object when saving token users
#1797038: [META] Fixes for rules inc
#1797014: Basing eway charge off order number instead of order id
#1797010: Check for address parts before concatenation
#1797000: support for a logged in user making a purchase
#1796988: Add a bit more feedback about failed payments on checkout submission
#1505396: Card owner field on payment form
This is against the dev branch as of Oct 3 2012. (specifically branch 71e0ec54c3b4d42d15962bb9ce89c5912212f882)
Comment #9
thtas commentedupdated patch also includes changes from #1845106: Remove dependency on address fields
Comment #10
rcross commentedthtas - please keep separate patches. I won't commit a meta patch like this.
Comment #11
rcross commentedThe original patch here was already committed. Please open a new issue for anything in your updated patches that isn't already open.
Comment #11.0
rcross commentedupdated desc