- Drupal Developer helps you to learn Drupal by example!
- Learn to develop custom Drupal modules and themes for Drupal5, Drupal6, Drupal7 and Drupal8
- Post your Drupal questions and get solutions.
- Its free to join and post!
This CodeLet alter the 'uc_paypal_wps_email' variable when PayPal payment is enabled with Ubercart & sets to node author's PayPal account email address.
This requires creating a field on user's account with name 'PayPal Email' (field_paypal_email).
This CodeLet generate a unique invoice number for every order placed with ubercart. The unique invice number is stored in a custom table and a function is provided to fetch the invoice number for respective order number. You can use this function in order template to display the inovice number