0

EuPlatesc is a Romanian provider for online payments. I want to integrate this in Sylius platform as a plugin. I've reached the phase where I'm handling the step after checkout that reaches CaptureAction.php.

However EuPlatesc works with a POST request made to a secure url, similar to this description PHP Redirect with POST data.

Is it possible to implement this kind of behavior in Sylius ?

Dr.X
  • 853
  • 9
  • 15
abclaur
  • 48
  • 5

1 Answers1

0

You can use Payum\Core\Reply\HttpPostRedirect class, which makes a POST request and redirects user to payment processor page. The example of it usage you can find in Be2Bill gateway

Dr.X
  • 853
  • 9
  • 15