Skip to content

'The underlying connection was closed: An unexpected error occurred on a send.' error #4

Description

@ajitgoel

I have downloaded the code and updated the private key in HomeController.cs and
the public key in Charge.cshtml. I am constantly getting a : 'The underlying connection was closed: An unexpected error occurred on a send.' error on the
var stripeCharge = chargeService.Create(myCharge);
line in private async Task ProcessPayment(StripeChargeModel model) method.

Any inputs on what I might be doing wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions