- Posts: 137
- Thank you received: 2
Implement new PSP
- emergentec
-
Topic Author
- Offline
As there is no plug-in for our favourite PSP ( www.mpay24.com ) we have to implement a way to use our PSP. Is there a tutorial or how-to how to do this? We only have to pass the price and the order number to our PSP. The payment itself will be done on the site of mpay
Best regards
Please Log in or Create an account to join the conversation.
We have a developer documentation here for that: www.hikashop.com/en/support/documentatio...r-documentation.html
Also, you can take the other payment plugins as example for yours.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
I just wanted to test the Paypal Plugin and after clicking on "Next" I receive the following error message:
Best regards
Please Log in or Create an account to join the conversation.
If you turn off the debug mode of the configuration of Joomla you won't have the problem anymore.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Do you get an error when you click next then ?
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
I'm trying to implement the payment plugin with PayPal as an example but that's not very easy, as there are hardly any comments. For example I don't really see, where the forwarding in the "onAfterOrderConfirm" happens.
Please Log in or Create an account to join the conversation.
The onAfterOrderConfirm happens at the end of the after_confirm function of the checkout controller. So the order was just created and the payment plugin is directly triggered. when the onAfterOrderConfirm function finishes, the system displays the content displayed by the plugin in the end step. In the PyaPal plugin, the paypal_end file content is displayed by the onAfterOrderConfirm function in that end step and that's what is redirecting to the paypal gateway.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
I don't see where the redirect to PayPal is in the onAfterOrderConfirm. I only see a redirect in the onPaymentNotification, that's what I don't understand.
Please Log in or Create an account to join the conversation.
You'll see, there is an auto submit of the form with one line of javascript.
Please Log in or Create an account to join the conversation.