Justin Shreve
|
49c45c6dc1
|
Make sure the is_default/default token ability works correctly. Also adds a new method for getting a users default token. Fixes up some docblocks.
|
2016-03-01 11:49:42 -08:00 |
Justin Shreve
|
7b57b4c4cc
|
Validate length for expiry - 4 chars for year and 2 for month.
|
2016-03-01 11:49:39 -08:00 |
Justin Shreve
|
214f077a91
|
Implement the rest of the WC_Data methods for creating, updating, reading, etc.
|
2016-03-01 11:49:39 -08:00 |
Justin Shreve
|
f66b9e3681
|
Move meta (when creating) to its own sub meta array.
|
2016-03-01 11:49:39 -08:00 |
Justin Shreve
|
2fdb2ed2a8
|
Don't inheirt from eCheck https://github.com/woothemes/woocommerce/pull/10260#discussion_r51901526
|
2016-03-01 11:49:38 -08:00 |
Justin Shreve
|
2e896ae24a
|
Extend WC_Payment_Token_CC from WC_Payment_Token_eCheck since they both share eCheck's fields as a base.
|
2016-03-01 11:49:38 -08:00 |
Justin Shreve
|
c5aec06a8a
|
First pass at a payment token API
|
2016-03-01 11:49:37 -08:00 |