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).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Status: Active » Needs review
FileSize
9.17 KB

I'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.

  • jsacksick committed 4ef0991 on 8.x-1.x
    Issue #3040545 by jsacksick: Add options for updating the billing/...
jsacksick’s picture

Status: Needs review » Fixed

Committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.