We appear to have encountered an issue with our major client recently. We build custom loyalty subscription applications for various clients in which the customer can opt in to a digital program on the client’s website. This digital program is maintained as a digital Subscription product in the client’s store. We then use the Post Purchase flow in order to offer the digital Subscription to the client after a purchase is made. Once the client properly accepts their membership into the digital subscription, the Payment Method they use is supposed to be vaulted against their Customer record. This is then visible through the Admin GQL when we load the customer and their corresponding Payment Methods.
As of 12/6, these customers are being offered the Subscription, they’re agreeing it to it; however, their Payment Method is not being vaulted. Without this vaulted payment method, we are unable to create the corresponding Subscription Contract. Since the Subscription Contract is the basis of our concept of Membership in our program, these users are failing to sign up.
We have expressly tested all 4 major label credit cards against the site and see the Payment Method getting preserved as expected. That same card, when used through Shop Pay, is not getting saved as an approved Payment Method. This seemingly implies that there’s nothing wrong with the card if it works alone, but not with Shop Pay. It seems that something has changed within the Shop Pay implementation that’s preventing credit cards from properly being vaulted for further use.
Has anyone else seen similar failures with Shop Pay and their corresponding Subscription applications within the last week?
It seems you’re encountering an issue with Shop Pay not properly vaulting customer payment methods, which directly affects your ability to create Subscription Contracts. Here’s a breakdown of what might be happening and how you can address it:
**Possible Causes:**1. Changes in Shop Pay’s API or Vaulting Process: As of 12/6, Shop Pay may have updated their process or API, which could be causing this issue. If credit cards work without Shop Pay but fail when using it, this strongly suggests an issue specific to Shop Pay’s integration with your system.
Compatibility Issues with the Post-Purchase Flow: The problem might stem from how Shop Pay interacts with Shopify’s Post Purchase API or your subscription app, leading to the payment method not being vaulted.
Shop Pay Configuration or Permission Updates: There may have been a change in Shop Pay’s settings or permissions related to saving payment methods during subscription flows.
Customer Consent Requirements: If Shop Pay requires explicit consent from users to vault payment details for recurring subscriptions, any lapse here might prevent vaulting.
Recommendations:
1-Verify Vaulting Settings in Shop Pay:
Double-check the configuration in Shopify Admin > Payments > Shop Pay to ensure payment vaulting is enabled and compatible with your subscription app.
2-Inspect API Responses:
Analyze the GraphQL API responses during the subscription flow. Look for any errors or flags related to Shop Pay or payment method vaulting. Specifically, review the mutation for saving payment methods and the subscriptionContractCreate operation.
3-Update and Sync Apps:
Ensure your custom loyalty app and subscription setup are using the latest versions of Shopify APIs. Check for any deprecations or changes related to Shop Pay.
4-Test Different Scenarios:
Conduct tests using other payment providers (not just Shop Pay) to confirm the issue is isolated. It’s also a good idea to test on a different Shopify store to rule out client-specific configurations.
5-Contact Shopify Support:
Raise a ticket with Shopify Support to determine if this is a known issue with Shop Pay. Provide detailed logs and examples of the failed transactions to help them pinpoint the issue.
6-Monitor Shopify Developer Forums:
Check Shopify’s developer forums and documentation for announcements about changes or reported issues with Shop Pay. Other developers might be facing similar issues and may have insights or workarounds.
Pay special attention to the userErrors field to see if Shop Pay is returning specific messages related to payment vaulting.
If the issue persists, it might require a temporary workaround, such as offering alternative payment methods or bypassing Shop Pay for subscription-related purchases until a resolution is found.
If you need any other assistance, feel free to reply and I will try my best to respond.