Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Integrating WP Affiliate Platform with Merchant One Gate way, paying with paypal

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Integrating WP Affiliate Platform with Merchant One Gate way, paying with paypal

Tagged: affiliate, api, merchant, PayPal, refund

  • This topic has 4 replies, 2 voices, and was last updated 14 years, 2 months ago by amin007.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 20, 2011 at 11:29 pm #2998
    Antonio
    Member

    I’m not really sure where to start off, but I’ll try to be detailed as possible. I am trying to help a friend who runs training events that wants to promote them via affiliates. He is currently using the Merchant One gateway system. For his last training his programmer created a PHP script to accept payments via the Merchant One api system.

    I talked to him a few minutes ago, and he wants to use Merchant One to accept payment when someone registers for the trainings, and use Paypal to pay the affiliates.

    What needs to be done to get this working?

    In other words, what does the programmer have to add to the already existing payment.php script?

    March 21, 2011 at 12:45 am #30450
    Antonio
    Member

    Just now I thought of another issue. Since my friends events are live trainings, there may be people that want refunds. I believe he will have a refund policy of 1 or 2 days into the training. I’m kind of confused on how I’ll be able to tell which person decided to get a refund – as my friend doesn’t want to be awarding an affiliate if someone gets a refund.

    March 21, 2011 at 2:41 am #30451
    amin007
    Participant

    Send your programmer to this page and he will be able to do the integration:

    API – Awarding Commission via HTTP GET or POST

    If something is unclear or needs more explanation let me know.

    Regarding the refund… every commission that is given to the affiliate will have a transaction ID attached to it. This transaction ID is unique and is issued by the payment gateway. So when a refund for a transaction is given all you have to do is go to the “Sales/Comm data” menu and find the transaction ID and delete the commission. If this payment gateway has notification facility after refund (like PayPal) then you can process that notification and communicate with the affiliate plugin to delete the corresponding commission (this way no manual commission delete action is needed).

    March 22, 2011 at 2:23 pm #30452
    Antonio
    Member

    I believe Merchant One has some sort of notification facility. Could you explain how to integrate this within the plugin?

    Thanks

    Antonio

    March 23, 2011 at 12:25 am #30453
    amin007
    Participant

    The affiliate platform has a refund handler API (similar to the commission awarding API that I mentioned in the previous post).

    When a refund is issued this is what happens

    The payment gateway sends the notification to your script -> the script processes the data and sends it to the refund handler API of the affiliate plugin -> the plugin then reverses the commission.

    The refund handler API just needs the original transaction ID of the transaction that got refunded and it can take care of the rest.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ