Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Need a functional payment method test that goes to user/$uid/payment-methods, adds a payment method (using the onsite_example gateway), checks the table, then deletes it.
Comment | File | Size | Author |
---|---|---|---|
#2 | functional_payment_method_test_2820934.patch | 4.41 KB | mbreden |
Comments
Comment #2
mbreden CreditAttribution: mbreden at Acro Commerce commentedPatch attached!
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedThe version I pushed wasn't passing, need to see why.
EDIT: The main problem is the need to specify the credit_card payment method type on the gateway, smells like a bug.
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedFixed the bug, the test now passes.