The test gateway checks for $order->payment_details['cc_cvv'] when running test_gateway_charge. CVV isn't stored by the gateway for future reference, so this produces a warning when charging a recurring transaction later.
Obviously not a biggie because it's just a test gateway, but figured I'd get rid of the notice ...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ubercart-1861940-test_gateway_recurring_warning.patch | 1.16 KB | xurizaemon |
Comments
Comment #1
xurizaemonPatch simply checks that the 'cc_cvv' index is set before testing its value.
Comment #2
tr commentedRecurring payments are handled by uc_recurring, not Ubercart core, so I'm changing this to a feature request. I think it's a reasonable thing to do, but is this the only thing that needs to be done for recurring payments? It would be great if there were test cases written for uc_recurring that took advantage of the test gateway, as the primary purpose of the test gateway is for testing ...
Comment #3
longwaveMakes sense to me, all other values should be available from recurring payments. Committed.