• Resolved cartpauj

    (@cartpauj)


    I work for the company that authors Affiliate Royale. We recently had a customer inquire about an integration with you.

    I’d be happy to help with this, but I’ll need two action hooks from your plugin.

    1) Action hook allowing additional inputs to be set on the PayPal button HTML (We need to add the input name=”custom”).
    2) An action hook when a sale is completed. This needs to provide data about the sale to the action hook’s callback such as the invoice number, product name, sub-total, and the $_POST data from PayPal’s IPN response.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @cartpauj,

    It is a pleasure modify my plugin to allow the integration with “Affiliate Royale”. What are the actions names your plugin is waiting form? I’ve visited your website, but I’ve not found a documentation required to implement the integration.

    Best regards.

    Thread Starter cartpauj

    (@cartpauj)

    You can name the actions whatever you’d like. Maybe something like this?

    do_action('sd_paypal_form_html_before_submit', $product, $purchase_id); – maybe on a new line just above this </form> line: https://plugins.trac.www.ads-software.com/browser/sell-downloads/tags/1.0.40/sd-core/sd-submit.php#L51

    And for the IPN

    do_action('sd_paypal_ipn_received', $_POST, $obj); – maybe at the top of your try block here: https://plugins.trac.www.ads-software.com/browser/sell-downloads/tags/1.0.40/sd-core/sd-ipn.php#L78

    Thanks!

    • This reply was modified 7 years, 10 months ago by cartpauj.
    • This reply was modified 7 years, 10 months ago by cartpauj. Reason: Re-ordering params in second hook
    Plugin Author codepeople

    (@codepeople)

    Hello @cartpauj,

    I’ve modified a copy of the free version of the “Sell Downloads” plugin, please, download it from the following link:

    https://wordpress.dwbooster.com/customdownloads/2017-04-25/sell-downloads.zip

    and let me know if the changes satisfy the requirements for the integration, before including the modifications in the official distribution of our plugin.

    One question, the modifications will allow integrate your plugin with the website of this specific user, or will be possible integrate your plugin with ours in all websites that include both plugins? If solution would be valid for all users, please, let me know what information you prefer we include in our plugin’s documentation to promote the relationship with your affiliates service.

    Best regards.

    Thread Starter cartpauj

    (@cartpauj)

    These hooks will make it possible to integrate on all websites that include both plugins.

    The hooks look great also. I will try and get the integration done soon, and will update this thread when complete. Thanks!

    Thread Starter cartpauj

    (@cartpauj)

    Just letting you know our customer tried this out – and said it is working fine for them.

    Anyone else looking to allow others to promote your Sell Downloads products can now do so with [links removed]

    • This reply was modified 7 years, 10 months ago by bdbrown.
    • This reply was modified 7 years, 10 months ago by bdbrown.
    Thread Starter cartpauj

    (@cartpauj)

    And Thanks @codepeople for your willingness to help!

    @cartpauj – I’m glad you found a solution for your client but please don’t post links to commercial products in the forums. Thanks.

    Plugin Author codepeople

    (@codepeople)

    Hello @cartpauj,

    Please, create a ticket in my personal website with the instructions to integrate your Affiliates Service with the Sell Downloads plugin, and integrate your service with the rest of our ecommerce plugins (like the Music Store, and the Images Store):

    https://wordpress.dwbooster.com/support

    Best regards.

    Thread Starter cartpauj

    (@cartpauj)

    Done!

    There’s no special integration steps to get Sell Downloads working with Affiliate Royale aside from installing the integration add-on plugin which integrates the two automatically.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Integration with Affiliate Royale’ is closed to new replies.