Twilio to Stripe Payment Connector - missing credentials? - Stack Overflow

admin2025-04-28  2

I am new to Twilio and to Stripe, and I am having issues with the setting up the Twilio to Stripe payment connector. Stripe returns "Connector configuration error. Credentials missing."

I have created the pay connector in Twilio Dashboard > Voice > Manage > Pay connectors and went through the Connect to Stripe process.

In debugging, my call gets forwarded to Stripe. It takes the CC# and all the relevant information, then posts back to my action but the results give an error message of "Connector configuration error. Credentials missing."

The help documentation says to recreate my payment connector configuration, which I have tried. I also saw something about having to provide my Stripe keys in Twilio, but I don't see where that option is.

In my code I am using the VoiceResponse Pay function like:

var response = new VoiceResponse();

response.Say("Connecting to Stripe");

response.Pay(paymentConnector: "Default", action: , chargeAmount: "123.45");

return Content(response.ToString(), "application/xml");

Any help would be appreciated.

I am new to Twilio and to Stripe, and I am having issues with the setting up the Twilio to Stripe payment connector. Stripe returns "Connector configuration error. Credentials missing."

I have created the pay connector in Twilio Dashboard > Voice > Manage > Pay connectors and went through the Connect to Stripe process.

In debugging, my call gets forwarded to Stripe. It takes the CC# and all the relevant information, then posts back to my action but the results give an error message of "Connector configuration error. Credentials missing."

The help documentation says to recreate my payment connector configuration, which I have tried. I also saw something about having to provide my Stripe keys in Twilio, but I don't see where that option is.

In my code I am using the VoiceResponse Pay function like:

var response = new VoiceResponse();

response.Say("Connecting to Stripe");

response.Pay(paymentConnector: "Default", action: https://example.com/twilio/handle-stripe-response, chargeAmount: "123.45");

return Content(response.ToString(), "application/xml");

Any help would be appreciated.

Share Improve this question asked Jan 9 at 18:52 Ryan AlbertRyan Albert 31 bronze badge
Add a comment  | 

2 Answers 2

Reset to default 0

I had a similar issue, and contacted twilio. It turns out the connect to stripe button in twilio console does not currently work. Twilio is unable to get the OAuth Token From Stripe, and they are working on this issue. https://status.twilio.com/incidents/21lnz91yrxpv

Check if you are using EFF's Privacy Badger (or any another privacy app that might do the same thing).

I just solved this issue when signing up a client - turns out that EFF's Privacy Badger was blocking something between Twilio and Stripe, causing "Error adding payment method: Stripe is not defined". After I selected "Disable for this site", worked just fine.

转载请注明原文地址:http://anycun.com/QandA/1745779274a91177.html