Skip to content

Align shipping data addition to Afterpay payments in blocks checkout scripts #7815

Open

Description

Describe the issue

Afterpay requires shipping data during the payment processing, and this logic was added here for legacy UPE & split UPE. Since deferred UPE behaves similarly to legacy cards in some ways, it doesn't execute this logic. There seems to be the fallback implemented, which takes billing data during payment processing if shipping is unavailable. It covers the use cases when there's no shipping, but it also might "cover" the scenario when deferred UPE doesn't add those details. This is the reason why we might not see the errors.

Acceptance criteria

  • the requirements on how shipping & billing address should be used with the Afterpay payments are clarified
  • it's checked if shipping address is added to the payment request whenever possible and if it doesn't, such an enhancement is added to deferred intent creation UPE scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    category: coreWC Payments core related issues, where it’s obvious.component: checkoutIssues related to Checkoutfocus: checkout paymentsneeds feedbackThe issue/PR needs a response from any of the parties involved in the issue.priority: lowThe issue/PR is low priority—not many people are affected or there’s a workaround, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions