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.
Add 2 new settings to the payment gateway config:
- update_billing_profile: (Defaults to TRUE) which updates the order's billing profile based on the payer's information we get from PayPal
- update_shipping_profile: (Defaults to TRUE) if the shipping module is enabled, update the shipping profile referenced by the shipments (Note that this should also create the shipments if none are referenced yet).
Comment | File | Size | Author |
---|---|---|---|
#2 | commerce_paypal-update-billing-and-shipping-3040545-2.patch | 9.17 KB | jsacksick |
Comments
Comment #2
jsacksick CreditAttribution: jsacksick at Centarro commentedI'm not committing this yet as I'm wondering if we should skip calling the packer ourselves...
Perhaps I should create a separate issue for populating the billing profile and setting the email since there's no problem in doing that.
Attaching the patch for review.
Comment #4
jsacksick CreditAttribution: jsacksick at Centarro for PayPal, Inc commentedCommitted!