Git Product home page Git Product logo

mage1-payment-request's Introduction

Payone Payment Request API

Important functions for Magento

  • General integration of the payment request api
  • Support for the Payone credidcard payment

Requirements and Compatibility

  • Magento 1.9.*
  • Payone Core Module 4.0.*
  • PHP 5.6

Documentation

Documentation english

Dokumentation deutsch

More information about Magento on https://www.payone.com/magento

Contact

BS PAYONE GmbH
Office Kiel
Fraunhoferstraße 2–4
24118 Kiel, Germany
Phone +49 431 25968-400
Fax +49 431 25968-1400
[email protected]
www.payone.com/magento

License

See our License Agreement at: https://www.payone.com/fileadmin/downloads/sonstiges/PAYONE_Haftungs_und_Lizenzvereinbarung_Extensions.pdf

GNU General Public License, version 3 (GPLv3)

About BS PAYONE

Since the end of August 2017, the two payment specialist companies PAYONE and B+S Card Service merged to become BS PAYONE GmbH. All current partnerships will be maintained the way they are. APIs, interfaces, and other technical parameters will stay the same. Your current contact persons will continue to gladly be at your service.

BS PAYONE GmbH is headquartered in Frankfurt am Main and is one of the leading omnichannel payment providers in Europe. In addition to providing customer support to numerous Sparkasse banks, the full-service payment service provider also provides cashless payment transactions services to more than 255,000 customers from various branches – whether that be in stationary retail or when completing e-commerce and mobile payment transactions.

mage1-payment-request's People

Contributors

therouv avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

therouv

mage1-payment-request's Issues

C# | CreditCard | Authorization

Hallo, seit der Umstellung auf 3D-Secure habe ich Probleme mit unserer Eigenentwicklung:

Aktuelles Zertifikat wurde eingespielt

[ERRORMSG]
"Die Anfrage wurde abgebrochen: Es konnte kein geschützter SSL/TLS-Kanal erstellt werden."

[CODE]

url = https://api.pay1.de/post-gateway/
enMethod = "POST"
body_data = "request=preauthorization&mid=46388&portalid=2033743&key=***&mode=test&aid=47514&currency=EUR&reference=f398a0da&clearingtype=cc&company=Bits4Soft&firstname=Thomas&lastname=Steinl&country=DE&cardexpiredate=2512&cardtype=M&pseudocardpan=9550010000685100854&amount=100&errorurl=https:/stage.tiimwork.de/Payment/Failed&backurl=http://localhost:44308/Payment/CreditCard&successurl=https:/stage.tiimwork.de/Payment/Success?ref=f398a0da&customerid=UserID1"

[METHOD]

public static string GetWebResponse(string url, enMethod enMethod, string body_data = "" )
{
	string responseFromServer = "";
	string content_type = "application/x-www-form-urlencoded";
	//string user_agent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:83.0) Gecko/20100101 Firefox/109.0";
	string accept = "*/*";

	ServicePointManager.Expect100Continue = true;
	ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072 | SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls13 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
	ServicePointManager.ServerCertificateValidationCallback = AcceptAllCertifications;

	var request = (HttpWebRequest)WebRequest.Create(url);
	request.ContentType = content_type;
	request.Method = enMethod.ToString();
	//request.UserAgent = user_agent;
	request.Accept = accept;
	request.KeepAlive = true;
	request.ServerCertificateValidationCallback = AcceptAllCertifications;

	if (!string.IsNullOrEmpty(body_data))
	{
		byte[] byteArray = Encoding.ASCII.GetBytes(body_data);
		request.ContentLength = byteArray.Length;
->		Stream newStream = request.GetRequestStream();
		newStream.Write(byteArray, 0, byteArray.Length);
		newStream.Close();
	}

	WebResponse response = request.GetResponse();

	using (Stream dataStream = response.GetResponseStream())
	{
		StreamReader reader = new StreamReader(dataStream);
		responseFromServer = reader.ReadToEnd();
	}

	response.Close();

	return responseFromServer;
}

Bitte dringend um support.

vG
/Thomas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.