Re: Is CustomerPaymentMethods Webhook active and functional?

Is CustomerPaymentMethods Webhook active and functional?

luziusfly
Visitor
1 0 0

Hello,

I'm trying to set up the CUSTOMER_PAYMENT_METHODS_CREATE webhook, as described here: https://shopify.dev/docs/admin-api/graphql/reference/events/webhooksubscriptiontopic and here https://shopify.dev/docs/admin-api/rest/reference/events/webhook 

But when I try to call the graphql endpoint, I get the following response:

 

 

{
"data": {
"webhookSubscriptionCreate": {
"userErrors": [
{
"field": [
"webhookSubscription"
],
"message": "You cannot create a webhook subscription with the specified topic"
}
],

 

 

I've tried both with the GraphQL and Rest API for creating webhooks, and it doesn't appear in the Admin Panel where you can create the webhooks manually, which makes me wonder: 

Is it live? Does it even exist? 

Thanks!

Replies 2 (2)

mikedasilva
Shopify Staff (Retired)
61 7 13

Hi,

Have you added the read_customer_payment_methods access scope in your app? That may be the reason your app is not able to subscribe to that topic.

 

Cheers

To learn more visit the Shopify Help Center or the Community Blog.

libraheem
Tourist
5 0 0

How to add read_customer_payment_methods access scope in app?

Cant find it in scopes ...