Skip to content

Instantly share code, notes, and snippets.

@pumatertion
Created October 30, 2014 16:04
Show Gist options
  • Save pumatertion/0de15ccf3f200668b6f4 to your computer and use it in GitHub Desktop.
Save pumatertion/0de15ccf3f200668b6f4 to your computer and use it in GitHub Desktop.
-
name: 'CreditCardAuthorization'
uriPattern: '{node}/onepay/{--pipeu_factura_nodetypes-document.paymentType.__type}/{--pipeu_factura_nodetypes-document.document}/{--pipeu_factura_nodetypes-document.hash}/authorizecreditcard.{@format}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--pipeu_factura_nodetypes-document':
'@package': 'PIPEU.Factura.NodeTypes'
'@controller': 'Payment'
'@action': 'creditCardAuthorization'
'@format': 'html'
routeParts:
node:
handler: TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface
'--pipeu_factura_nodetypes-document.document':
objectType: 'PIPEU\Factura\Domain\Abstracts\AbstractDocument'
'--pipeu_factura_nodetypes-document.paymentType.__type':
toLowerCase: false
appendExceedingArguments: true
-
name: 'Payment Success'
uriPattern: '{node}/onepay/{--pipeu_factura_nodetypes-document.document}/{--pipeu_factura_nodetypes-document.hash}/success.{@format}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--pipeu_factura_nodetypes-document':
'@package': 'PIPEU.Factura.NodeTypes'
'@controller': 'Payment'
'@action': 'paymentSuccess'
'@format': 'html'
routeParts:
node:
handler: TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface
'--pipeu_factura_nodetypes-document.document':
objectType: 'PIPEU\Factura\Domain\Abstracts\AbstractDocument'
appendExceedingArguments: true
-
name: 'Payment Error'
uriPattern: '{node}/onepay/{--pipeu_factura_nodetypes-document.paymentType.__type}/{--pipeu_factura_nodetypes-document.document}/{--pipeu_factura_nodetypes-document.hash}/error.{@format}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--pipeu_factura_nodetypes-document':
'@package': 'PIPEU.Factura.NodeTypes'
'@controller': 'Payment'
'@action': 'paymentError'
'@format': 'html'
routeParts:
node:
handler: TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface
'--pipeu_factura_nodetypes-document.document':
objectType: 'PIPEU\Factura\Domain\Abstracts\AbstractDocument'
'--pipeu_factura_nodetypes-document.paymentType.__type':
toLowerCase: false
appendExceedingArguments: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment