Reputation: 521
I created a bot and I am trying to test Buy button following the instructions at https://developers.facebook.com/docs/messenger-platform/payments#test_payments and I did set is_test_payment
to true. But I got the error “(#1158) No valid payment provider found. Please add a valid payment provider, it can be tokenized payment, stripe or paypal.” I understand the payment is currently only available to US, but I found no place to specify the location of my page is US. How should I fix this?
Upvotes: 0
Views: 112
Reputation: 2848
You have to set up a payment provider, even if you are going to be testing payments. Tokenized payments is the easiest way to go, just generate a key and add it with the Messenger Profile API.
Upvotes: 1