Ich benutze das PayPalStandard-Plugin von NopCommerce. Als ich die Bestellung & machte Zahlung mit Paypalstandard Plugin nach erfolgreicher Zahlung auf Paypal, es umleitet Händler Website. Zu dieser Zeit gibt es Fehler:Die Anfrage wurde abgebrochen: SSL/TLS konnte nicht erstellt werden. Channel.System.Net.WebException
The request was aborted: Could not create SSL/TLS secure channel.
Auch ich benutze Sandbox-Konto von Paypal zum Testen.
Es wirft Fehler aus dieser Zeile:
var sw = new StreamWriter(req.GetRequestStream()
Hier Code unten:
var req = (HttpWebRequest)WebRequest.Create(GetPaypalUrl());
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.ProtocolVersion = HttpVersion.Version10;
string formContent = string.Format("cmd=_notify-synch&at={0}&tx={1}", _paypalStandardPaymentSettings.PdtToken, tx);
req.ContentLength = formContent.Length;
using (var sw = new StreamWriter(req.GetRequestStream(), Encoding.ASCII))
sw.Write(formContent);
Ich begann zu sehen, dass dies vor einem Tag oder so passiert. Vielleicht ein Problem mit dem Zertifikat von https://www.sandbox.paypal.com/? – bustrofedon
vor 9-10 Monaten wirft es keinen Fehler mit Sandbox. Ist es eine Sandbox? – chitra
Auch dieser Code funktioniert mit Paypal Account erfolgreich. Es passiert nur mit dem Sandbox-Konto. Also ist es Problem von Sandbox-Konto? – chitra