You are here

paypal_payment.routing.yml in PayPal for Payment 2.0.x

Same filename and directory in other branches
  1. 8 paypal_payment.routing.yml

File

paypal_payment.routing.yml
View source
  1. paypal_payment.redirect.success:
  2. path: '/paypal-payment/redirect/success/{payment}'
  3. defaults:
  4. _controller: 'Drupal\paypal_payment\Controller\Redirect::execute'
  5. _title: 'PayPal Payment Redirect'
  6. requirements:
  7. _custom_access: '\Drupal\paypal_payment\Controller\Redirect::access'
  8. paypal_payment.redirect.cancel:
  9. path: '/paypal-payment/redirect/cancel/{payment}'
  10. defaults:
  11. _controller: 'Drupal\paypal_payment\Controller\Redirect::cancel'
  12. _title: 'PayPal Payment Redirect'
  13. requirements:
  14. _permission: 'access content'
  15. paypal_payment.webhook:
  16. path: '/paypal-payment/webhook/{payment_method_id}'
  17. defaults:
  18. _controller: 'Drupal\paypal_payment\Controller\Webhook::execute'
  19. _title: 'PayPal Payment Webhook'
  20. requirements:
  21. _custom_access: '\Drupal\paypal_payment\Controller\Webhook::access'