PaymentController
class PaymentController extends AbstractController
Main controller class
Properties
private PaymentServiceInterface | $paymentService | Stores PaymentService |
Methods
Response
dashboard(Request $request, PaginatorInterface $paginator)
Displays the dashboard
Response
Response
Response
form()
Displays Stripe form to proceed to payment
Response|Redirect
freeAmount(Request $request, ConfigServiceInterface $configService)
Displays the form to proceed to a free amount payment
Redirect
request($text, $amount, $currency)
Displays form for defined amount
Redirect
charge()
Proceeds to charge Payment server
Details
at line 36
__construct(PaymentServiceInterface $paymentService)
at line 51
Response
dashboard(Request $request, PaginatorInterface $paginator)
Displays the dashboard
at line 80
Response
display(Payment $payment, ConfigServiceInterface $configService)
Displays Payment using its orderId
at line 100
Response
config(Request $request, ConfigServiceInterface $configService)
Displays the configuration
at line 134
Response
form()
Displays Stripe form to proceed to payment
at line 155
Response|Redirect
freeAmount(Request $request, ConfigServiceInterface $configService)
Displays the form to proceed to a free amount payment
at line 193
Redirect
request($text, $amount, $currency)
Displays form for defined amount
at line 212
Redirect
charge()
Proceeds to charge Payment server