How to integrate custom shopping carts with your website

Go to Market Pro Max –> Secret Key –> and click on Custom Integration.

These are the detailed instructions to integrate with custom shopping cart solutions.

If you are using a different payment system, you can still integrate with MPM by doing a custom integration via the api. As this is custom integration, if you need any further guidance integrating your shopping cart system than what is provided here, you will need to consult the documentation or contact support for that system. The api URL will be pre-filled on your site and be made available via a text box next to the title “The api url is:”

Here are the steps:

When a successful purchase has been made then they need to post the details to the api url with the following data:

x_type => the value should be : auth_capture
x_item_id => the ID of the Product or the membership level
x_trans_id => the transaction ID of the purchase
x_response_code => this should be set to : 1
x_email => the client email to be registered on mpm site
x_first_name => the first name of the client email to be registered on mpm site
x_last_name => the last name of the client email to be registered on mpm site
x_secret => the secret key that has been setup on the site

When there is a refund and someone needs to be made inactive then they need to post to the api url with the following data:

x_type => this needs to be set as: credit
x_item_id => the ID of the Product or the membership level
x_response_code => this should be set to : 1
x_email => the client email to be made inactive on mpm site
x_secret => the secret key that has been setup on the site