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.
Commerce Kickstart uses the returned transaction to create messages.
Comment | File | Size | Author |
---|---|---|---|
#1 | issue-2229901.patch | 466 bytes | lsolesen |
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedComment #2
bojanz CreditAttribution: bojanz commentedYep.
Comment #3
rszrama CreditAttribution: rszrama commentedI may need a bit more info here; can you point me to where Commerce Kickstart is using this? I'm just not certain how this function having a return value will affect anything, when the function that calls it, commerce_payment_example_submit_form_submit(), doesn't return anything itself. Also, what does Kickstart do for all the other payment method modules out there that don't return a transaction?
Comment #4
lsolesen CreditAttribution: lsolesen commentedIt is used during the installation of CK 2.x.
http://drupalcode.org/project/commerce_kickstart.git/blob/refs/heads/7.x...
@bojanz said that the example payment was based on the method originally added to kickstart, which also returned the transaction.
http://drupalcode.org/project/commerce_kickstart.git/blob/5f0c02f034d965...
Comment #5
rszrama CreditAttribution: rszrama commentedAhh, I see - so it doesn't really matter that no other payment gateway does this. I'll get it in.