-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Novalnet
committed
Feb 9, 2021
0 parents
commit 950e579
Showing
147 changed files
with
10,281 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "novalnet/payment", | ||
"description": "Novalnet module", | ||
"license": "MIT", | ||
"require": { | ||
"php": ">=7.2", | ||
"spryker-shop/checkout-page": "^1.0.0 || ^2.0.0 || ^3.0.0", | ||
"spryker/kernel": "^3.30.0", | ||
"spryker/oms": "^7.0.0 || ^8.0.0 || ^10.0.0 || ^11.0.0", | ||
"spryker/propel-orm": "^1.0.0", | ||
"spryker/quote": "^2.0.0", | ||
"spryker/sales": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^10.0.0 || ^11.0.0", | ||
"spryker/refund": "^5.0.0", | ||
"spryker/step-engine": "^2.0.0 || ^3.0.0", | ||
"spryker/symfony": "^3.0.0", | ||
"spryker/zed-request": "^3.0.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Novalnet\\": "src/Novalnet/" | ||
} | ||
}, | ||
"require-dev": { | ||
"spryker/checkout": "*", | ||
"spryker/payment": "*", | ||
"spryker/propel": "*", | ||
"spryker/router": "*", | ||
"spryker-shop/shop-application": "*", | ||
"spryker/silex": "*" | ||
}, | ||
"suggest": { | ||
"spryker/checkout": "CheckoutPostSaveHookInterface is used.", | ||
"spryker/payment": "If you want to use payment method filtering.", | ||
"spryker-shop/shop-application": "Abstract Yves controller provider is used.", | ||
"spryker/silex": "Silex application is used." | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"process-timeout": 600 | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.0.x-dev" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<statemachine | ||
xmlns="http://static.spryker.com" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://static.spryker.com http://static.spryker.com/oms-01.xsd"> | ||
|
||
<process name="NovalnetBancontact01" main="true"> | ||
<states> | ||
<state name="new" /> | ||
<state name="invalid" /> | ||
<state name="online transfer pending" /> | ||
<state name="authorized" /> | ||
<state name="canceled" /> | ||
<state name="paid" /> | ||
<state name="shipped" /> | ||
<state name="refunded" /> | ||
<state name="closed" /> | ||
</states> | ||
|
||
<transitions> | ||
<transition condition="NovalnetPayment/AuthorizationIsApproved" happy="true"> | ||
<source>new</source> | ||
<target>online transfer pending</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/AuthorizationIsError"> | ||
<source>new</source> | ||
<target>invalid</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsAuthorized" happy="true"> | ||
<source>online transfer pending</source> | ||
<target>authorized</target> | ||
<event>redirect response</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsPaid" happy="true"> | ||
<source>online transfer pending</source> | ||
<target>paid</target> | ||
<event>redirect response</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>online transfer pending</source> | ||
<target>canceled</target> | ||
<event>redirect response</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCaptured" happy="true"> | ||
<source>authorized</source> | ||
<target>paid</target> | ||
<event>capture</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/CallbackStatusUpdate" happy="true"> | ||
<source>authorized</source> | ||
<target>paid</target> | ||
<event>callback paid</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>callback canceled</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsVoided"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>cancel</event> | ||
</transition> | ||
|
||
<transition happy="true"> | ||
<source>paid</source> | ||
<target>shipped</target> | ||
<event>ship</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsRefunded"> | ||
<source>shipped</source> | ||
<target>refunded</target> | ||
<event>refund</event> | ||
</transition> | ||
|
||
<transition> | ||
<source>shipped</source> | ||
<target>closed</target> | ||
<event>close</event> | ||
</transition> | ||
</transitions> | ||
|
||
<events> | ||
<event name="authorize" onEnter="true" command="NovalnetPayment/Authorize" /> | ||
<event name="redirect response" /> | ||
<event name="on redirect timeout" timeout="1hour" /> | ||
<event name="callback paid" /> | ||
<event name="callback canceled" /> | ||
<event name="capture" manual="true" command="NovalnetPayment/Capture" /> | ||
<event name="cancel" manual="true" command="NovalnetPayment/Cancel" /> | ||
<event name="ship" manual="true" /> | ||
<event name="refund" manual="true" command="NovalnetPayment/Refund" /> | ||
<event name="close" timeout="14 days" /> | ||
</events> | ||
|
||
</process> | ||
</statemachine> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<statemachine | ||
xmlns="http://static.spryker.com" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://static.spryker.com http://static.spryker.com/oms-01.xsd"> | ||
|
||
<process name="NovalnetBarzahlen01" main="true"> | ||
<states> | ||
<state name="new" /> | ||
<state name="waiting for payment" /> | ||
<state name="authorized" /> | ||
<state name="canceled" /> | ||
<state name="paid" /> | ||
<state name="shipped" /> | ||
<state name="refunded" /> | ||
<state name="closed" /> | ||
</states> | ||
|
||
<transitions> | ||
<transition condition="NovalnetPayment/AuthorizationIsApproved" happy="true"> | ||
<source>new</source> | ||
<target>authorized</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>new</source> | ||
<target>canceled</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/WaitingForPayment" happy="true"> | ||
<source>new</source> | ||
<target>waiting for payment</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/WaitingForPayment"> | ||
<source>authorized</source> | ||
<target>waiting for payment</target> | ||
<event>waiting for payment</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCaptured" happy="true"> | ||
<source>authorized</source> | ||
<target>waiting for payment</target> | ||
<event>capture</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>waiting for payment</source> | ||
<target>canceled</target> | ||
<event>callback canceled</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>callback canceled</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/CallbackStatusUpdate" happy="true"> | ||
<source>authorized</source> | ||
<target>paid</target> | ||
<event>callback paid</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/CallbackStatusUpdate" happy="true"> | ||
<source>waiting for payment</source> | ||
<target>paid</target> | ||
<event>callback paid</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsVoided"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>cancel</event> | ||
</transition> | ||
|
||
<transition happy="true"> | ||
<source>paid</source> | ||
<target>shipped</target> | ||
<event>ship</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsRefunded"> | ||
<source>shipped</source> | ||
<target>refunded</target> | ||
<event>refund</event> | ||
</transition> | ||
|
||
<transition> | ||
<source>shipped</source> | ||
<target>closed</target> | ||
<event>close</event> | ||
</transition> | ||
</transitions> | ||
|
||
<events> | ||
<event name="authorize" onEnter="true" command="NovalnetPayment/Authorize" /> | ||
<event name="waiting for payment" /> | ||
<event name="callback paid" /> | ||
<event name="callback canceled" /> | ||
<event name="capture" manual="true" command="NovalnetPayment/Capture" /> | ||
<event name="cancel" manual="true" command="NovalnetPayment/Cancel" /> | ||
<event name="ship" manual="true" /> | ||
<event name="refund" manual="true" command="NovalnetPayment/Refund" /> | ||
<event name="close" timeout="14 days" /> | ||
</events> | ||
|
||
</process> | ||
</statemachine> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<statemachine | ||
xmlns="http://static.spryker.com" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://static.spryker.com http://static.spryker.com/oms-01.xsd"> | ||
|
||
<process name="NovalnetCreditCard01" main="true"> | ||
<states> | ||
<state name="new" /> | ||
<state name="authorized" /> | ||
<state name="canceled" /> | ||
<state name="paid" /> | ||
<state name="shipped" /> | ||
<state name="refunded" /> | ||
<state name="closed" /> | ||
</states> | ||
|
||
<transitions> | ||
<transition condition="NovalnetPayment/AuthorizationIsApproved" happy="true"> | ||
<source>new</source> | ||
<target>authorized</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>new</source> | ||
<target>canceled</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsPaid" happy="true"> | ||
<source>new</source> | ||
<target>paid</target> | ||
<event>authorize</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCaptured" happy="true"> | ||
<source>authorized</source> | ||
<target>paid</target> | ||
<event>capture</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/CallbackStatusUpdate" happy="true"> | ||
<source>authorized</source> | ||
<target>paid</target> | ||
<event>callback paid</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsCanceled"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>callback canceled</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsVoided"> | ||
<source>authorized</source> | ||
<target>canceled</target> | ||
<event>cancel</event> | ||
</transition> | ||
|
||
<transition happy="true"> | ||
<source>paid</source> | ||
<target>shipped</target> | ||
<event>ship</event> | ||
</transition> | ||
|
||
<transition condition="NovalnetPayment/PaymentIsRefunded"> | ||
<source>shipped</source> | ||
<target>refunded</target> | ||
<event>refund</event> | ||
</transition> | ||
|
||
<transition> | ||
<source>shipped</source> | ||
<target>closed</target> | ||
<event>close</event> | ||
</transition> | ||
</transitions> | ||
|
||
<events> | ||
<event name="authorize" onEnter="true" command="NovalnetPayment/Authorize" /> | ||
<event name="callback paid" /> | ||
<event name="callback canceled" /> | ||
<event name="capture" manual="true" command="NovalnetPayment/Capture" /> | ||
<event name="cancel" manual="true" command="NovalnetPayment/Cancel" /> | ||
<event name="ship" manual="true" /> | ||
<event name="refund" manual="true" command="NovalnetPayment/Refund" /> | ||
<event name="close" timeout="14 days" /> | ||
</events> | ||
|
||
</process> | ||
</statemachine> |
Oops, something went wrong.