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.
All actions fired on event "Completing the checkout process" have user "Anonymous" assigned. This brings some problems as I need to know the user for creating a new entity.
This happens using Paypal WPS (sandbox and live), IPN Array seems to have correct information showing user name, mail, etc. When using an Example Payment users are assigned correctly. In this case page is not left so maybe the user problem is related to the fact that event is triggered while still staying on Paypal site.
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedI answered this in the Commerce Q&A: http://www.drupalcommerce.org/questions/7044/why-are-my-checkout-complet...
Comment #2
geraldito CreditAttribution: geraldito commentedThanks, using commerce-order:owner token instead of site:current-user did the job.