You are here

uc_paypal.routing.yml in Ubercart 8.4

payment/uc_paypal/uc_paypal.routing.yml

File

payment/uc_paypal/uc_paypal.routing.yml
View source
  1. # IPN, always accessible, helps for testing while site is offline.
  2. uc_paypal.ipn:
  3. path: '/uc_paypal/ipn'
  4. defaults:
  5. _controller: '\Drupal\uc_paypal\Controller\PayPalController::ipn'
  6. _title: 'PayPal IPN'
  7. requirements:
  8. _access: 'TRUE'
  9. # Callback functions for Express Checkout.
  10. uc_paypal.ec_complete:
  11. path: '/cart/echeckout/complete'
  12. defaults:
  13. _controller: '\Drupal\uc_paypal\Controller\EcController::ecComplete'
  14. _title: 'Review order'
  15. requirements:
  16. _permission: 'access content'
  17. uc_paypal.ec_review:
  18. path: '/cart/echeckout/review'
  19. defaults:
  20. _controller: '\Drupal\uc_paypal\Controller\EcController::ecReview'
  21. _title: 'Review payment'
  22. requirements:
  23. _access: 'TRUE'
  24. # Callback functions for PayPal Payments Standard.
  25. uc_paypal.wps_complete:
  26. path: '/uc_paypal/wps/complete/{uc_order}'
  27. defaults:
  28. _controller: '\Drupal\uc_paypal\Controller\WpsController::wpsComplete'
  29. _title: 'PayPal payment complete'
  30. requirements:
  31. _permission: 'access content'