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.
uc_payment_enter() is pretty useless if you need to create payment receipts that are related to 3rd party modules, because there is no way to get the correct receipt ID after creating the receipt.
As a quick fix, I suggest the insert query result is returned.
Comments
Comment #1
sobi3ch CreditAttribution: sobi3ch commented+1
Comment #2
sobi3ch CreditAttribution: sobi3ch commentedComment #3
longwaveFixed in http://drupalcode.org/project/ubercart.git/commitdiff/6ca6deb