Adding a SSN Field for Paypal Affiliate Payouts

Discussion in 'Customization & add-ons' started by quickreg, Jan 28, 2020.

Thread Status:
Not open for further replies.
  1. quickreg

    quickreg aMember Pro Customer

    Joined:
    Feb 17, 2010
    Messages:
    4
    I would like to know how to add a custom field so that my affiliates choosing the Paypal payout option can add their social security number to their account.

    I created a custom field:
    aff_paypal_ssnAffiliate Payout- SSN (Optional)[DATA]textfor affiliate commission payouts

    I would like to know how to make this field appear in the Affiliate Payout Option for Paypal.

    Thank you.
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Hello,

    The best solution is introduce new payout method (PayPal with SSN) and use it instead of default PayPal payout.
    In this case it will be upgrade proof solution.

    I implemented plugin that add such payout method:
    https://gist.github.com/cgi-caesar/b9f9fa6ec8cd5ed0153f196fb6d5b01f

    I hope it helps you to solve your use case.

    Best Regards.
    quickreg likes this.
  3. quickreg

    quickreg aMember Pro Customer

    Joined:
    Feb 17, 2010
    Messages:
    4
    Thank you,

    I see the code. How would I add this to my installation?
  4. quickreg

    quickreg aMember Pro Customer

    Joined:
    Feb 17, 2010
    Messages:
    4
    I figured out how to implement it.
    I save the code as aff-payout-paypalssn.php
    Then upload it to application/default/plugins/misc/aff-payout-paypalssn.php
    Then I activated the plugin.

    I seems to work very well. Thank you for this plugin!
  5. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    You are welcome!
Thread Status:
Not open for further replies.

Share This Page