Skip to content

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

@ajitgoel

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?

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