-
Notifications
You must be signed in to change notification settings - Fork 9
01 Credit card fullpayment and other payment methods
- Prestashop v1.6 or greater.
- PHP v5.4 or greater.
- MySQL v5.0 or greater.
- Download the modules from this repository.
- Extract the modules, then rename the folder modules as midtranspay and zip this modules as midtranspay.zip.
- Go to your Prestashop administration page and go to Modules and Services - Modules and Services menu.
- Click on the Add a new module and locate the midtranspay.zip file, then upload it.
- Find the Midtrans Pay module in the module list and click install, then enable it.
- Find the Midtrans Pay module in the module list and click configure.
-
Fill Payment Button Display Title with text button that you want to display to customer.
-
Select Environment, Sandbox is for testing transaction, Production is for real transaction.
-
Fill in the client key & server key. You can find this credential on Midtrans MAP Dashboard.
-
Note: key for Sandbox & Production is different, make sure you use the correct one.
-
Map payment SUCCESS status to: select your desired order status when payment is success.
-
Map payment FAILURE status to: select your desired order status when payment is failure.
-
Map payment PENDING/CHALLENGE status to: select your desired order status when payment is challenged.
-
Other configuration are optional, you may leave it as is.
![Presta Settings](https://github.com/yocki-s/image-snap-repo/blob/master/image/snap-presta1.png)
- Login to your Midtrans MAP Dashboard.
- Select your environment (sandbox or production)
- Insert
http://[your-site-url]/index.php?fc=module&module=midtranspay&controller=notification
as your Payment Notification URL. - Insert
http://[your-site-url]/index.php?fc=module&module=midtranspay&controller=success
as your Finish Redirect URL. - Insert
http://[your-site-url]/index.php?fc=module&module=midtranspay&controller=back
as your Pending Redirect URL. - Insert
http://[your-site-url]/index.php?fc=module&module=midtranspay&controller=failure
as your Error Redirect URL.
- Insert
You know what... Read this Wiki, and we hope you can integrate to Midtrans faster.