Is CustomerPaymentMethods Webhook active and functional?

luziusfly
New Member
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!

0 Likes
mikedasilva
Shopify Staff
Shopify Staff
40 3 2

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

mikedasilva | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes