Mike Jolley
|
6a1cc6a472
|
Fix "Can't use method return value in write context" errors
|
2016-03-23 10:13:51 +00:00 |
Justin Shreve
|
1d35fd6d73
|
Convert WC_Payment_Tokens (and CC/eCheck tokens) to use the new WC_Data and meta handling code.
|
2016-03-21 11:06:17 -07:00 |
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
|
df260c228d
|
Prevent notice from being displayed for user_id and remove static on echeck validate
|
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
|
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 |