Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
HI ALL, I have been working on a Drupal offsite payment module. I want that when a customer completes payment and place an order, additional information related to order (like transaction id, merchant reference number etc that's received in response from gateway side) gets captured in the order page of 'logged in' user. Check image below for reference :
Hello All, I have been working on a Drupal offsite payment module. I want to display additional information related to order (like transaction id, merchant reference number etc that we get in response from gateway side)in the order completion message section. I have attached screenshot for reference.
I have an Options element > Select type setup with custom options. For this example, the custom options are different languages. I would like the default value set for 'English' and am not sure what the YAML coding for default value should be for it.
The custom composite key for the Select type setup is 'autos_buying_a_car_language'. The custom option/YAML coding is 'english: English'.
I've included a mfa.install file along with my module (mfa). After a few iterations my module now installs without errors but my two new tables are not added to the Drupal database. I uninstalled my module and reinstalled when fixing errors. Here is the contents of mfa.install: (I should not need a hook_update_N() function)