Following is the step by step integration instructions for MemberWing-X with NMI Payments (Network Merchants Inc):

Creation of Subscribe button:

  • Login to your NMI admin panel
  • Subscription creation:
    Click on Recurring->Add plan
  • Fill-in all values. "Charge the customer, time" set to "0" to charge until cancelled.
  • Plan SKU needs to be unique identifier.
  • Press [Save] to complete creation of a new plan. If you pless "List Plans" on a menu on the left – the plan that you just created will be listed in there.
  • Button creation:
    Go to Integration->Quick Click->Button Generator->Create Shopping Cart Button – to create recurring billing "Subscribe button"
    or:
    Go to Integration->Quick Click->Button Generator->Create Fixed price Button – to create one time payment button.
  • In the next screen – fill-in the values for the button
  • Note: Item Description" acts as a name of subscription product and is related to premium content markers that you’ll be using to protect article contents.
    For example if you want to create Gold Membership product, put in here "Gold Membership" and then in your blog use premium markers like this: {{{gold}}} or {{{membership}}} to protect contents.
  • "Item ID (SKU)" needs to be exactly like the one used in "Add plan" menu above.
  • "Item Price" – initial amount to charge customer. Needs to be minimum 1.00
  • Fill in Cancel URL with URL of the "cancel" page on your site
  • Leave "Continue URL" empty
  • Inside of Finish URL place paste URL from your MemberWing-X->Integration with Other Systems->NMI Finish URL (return_link)
  • Optional:
    If you want customer to choose username/password
    – click "Click here to use product options"
    - "Option name" = "Desired Username:", "Filed Type"="Text Entry"
    - "Option name" = "Desired Password:", "Filed Type"="Text Entry"
  • "Key Verification" = "Default Key"
  • Press [Create Button]
  • In the next screen you should see the HTML code of the button created. It needs to be edited as follows:
    - Replace this:
    <input type="hidden" name="url_finish" with this: <input type="hidden" name="return_link"
  • Insert these lines in between <form>…</form> tags:
    <input type="hidden" name="return_method" value="POST" />
    <input type="hidden" name="checkout" value="true" />
  • Change button name from:
    value="Add To Cart" /> to more appropriate: value="Subscribe" />
  • Now the button HTML code is ready to be pasted inside of "subscribe" page on your site.
  • Troubleshooting:
    MemberWing-X records all payments and account creation events inside of this log file:
    /wp-content/plugins/memberwing-x/__log.php
    Please refer to this file to trace all events and for troubleshooting

Testing:

  • To switch NMI to the testing mode:
    - Login to NMI admin panel
    - Click: Options->Test Mode->[Enable Test Mode]
  • When testing use these credit card numbers:
    – Visa: 4111111111111111
    - MasterCard: 5431111111111111
    - DiscoverCard: 6011601160116611
    - American Express: 341111111111111
    - Credit Card Expiration: 10/10
  • Do not forget to switch system back to production mode when going live
 

Comments are closed.