Skip to content

Comparing payment instrument sometimes fails when using a previously saved instrument #87

@chrismshea

Description

@chrismshea

Issue

Job to create Subscription in Subscribe Pro fails

Steps to Reproduce

  1. As a customer create a subscription order
  2. Sync order to Subscribe Pro
  3. Create a new subscription order choosing a new shipTo with a different Name from what was used on the original order
  4. checkout using shipping as billing address.
  5. Attempt to sync the subscription using the job
  6. The job will fail.

This condition is evaluating to False:

https://github.com/subscribepro/sub-demandware/blob/26df8162a39b71b8900d399a2e5b0e69e616e60e/cartridges/int_subscribe_pro_sfra/cartridge/scripts/subpro/helpers/paymentsHelper.js#L142C1-L143C1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions