This method then returns an instance of a service request class which handles the specifics of building the request, which in turn returns an instance of the corresponding service response class for inspection. In general, a request using the Svea API starts out with you creating an instance of an order builder class, which is then built up with data using fluent method calls.Īt a certain point, a method is used to select which service the request will go against. and can administrate all types of orders. It includes methods that update, deliver, cancel and credit orders et.al. The WebPayAdmin class methods are used to administrate orders after they have been accepted by Svea. ![]() It contains methods to define order contents, send order requests, as well as support methods. The WebPay class contains the methods required to create orders and perform payment requests. Read more about how to integrate Svea Checkout in the section 6.7 WebPay::checkout() and if you wish to see more detailed data structures, see this documentation. If you want a lightweight integration package that only includes the checkout, you can use the php-checkout integration package instead.
0 Comments
Leave a Reply. |