Comments (3)
Hi,
Here's an example of how to deliver a checkout order https://github.com/sveawebpay/php-integration/blob/master/example/checkout/admin/deliver-order.php
You'll need to use WebpayAdmin::deliverOrderRows and set the checkoutOrderId :)
Br,
fre-sund
from php-integration.
I think I found the proper way to do this.
$request = WebPayAdmin::deliverOrderRows($config)
->setCheckoutOrderId($mySveaCheckoutId)
->setCountryCode($countryCode);
$response = $request->deliverCheckoutOrder()->doRequest();
The WebPayAdmin::deliverOrderRows->deliverCheckoutOrder()
is where the magic happens. You need to handle checkout orders that have been made with bank transfers because the call deliverCheckoutOrder()
will fail for those.
from php-integration.
Yes, bank orders will fail if that method is used since they get set to delivered when the transaction is finalized
from php-integration.
Related Issues (20)
- [Feature Request] Universal examples regardless of browser or CLI HOT 1
- Problem with response
- Creation of dynamic property is deprecated HOT 1
- Updates needed for PHP 8.2 HOT 4
- Is there any change in the WSDL url for invoices HOT 3
- Critical: WebService changes effective 1 oct needs immediate implementation!
- Retrieving status for an order HOT 2
- How to validate if order was approved with Bank ID or not?
- Enable logging for payment plans gives fatal error
- Warning: Undefined property CreateOrderBuilder::$identificationRejectionUrl HOT 1
- How to query the order when using checkout orders HOT 5
- Order not found after checkout finish HOT 1
- Update the ClientOrderNumber after checkout HOT 1
- Fatal error: Uncaught Error: Undefined class constant 'DBNORDEAFI' HOT 2
- Error: 308 (BAD_PAYMENTMETHOD) HOT 5
- [Feature Request] Save log to file
- [Feature Request] Grab the raw HTTP log for SOAP as well
- Isn't it a security risk to disable SSL peer validations?
- GetAddresses is deprecated and has been replaced by GetAddressesEu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-integration.