Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP Affiliate Platform

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

(5 posts) (2 voices)
  • Started 1 year ago by Antonio
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. Integrating WP Affiliate with Recurring Paypal Subscription/Membership
    2. WP Affiliate Platform PayOut - Mass paying affiliate with paypal
    3. Difficulty Setting up WP Affiliate Platform for Paypal Subscription Buttons
    4. Roles and Capabilities for WP Affiliate Platform
    5. WP Affiliate Platform – Any Way to Show the Product Names on Affiliate Page?

Tags:

  • affiliate
  • api
  • merchant
  • PayPal
  • refund
  1. 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?

    Posted 1 year ago #
  2. 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.

    Posted 1 year ago #
  3. amin007
    Key Master

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

    http://www.tipsandtricks-hq.com/wordpress-affiliate/awarding-commission-via-http-get-or-post-189

    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).

    Posted 1 year ago #
  4. Antonio
    Member

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

    Thanks

    Antonio

    Posted 1 year ago #
  5. amin007
    Key Master

    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.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin