The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

PayPal Donations
other input fields (2 posts)

  1. kjfrank
    Posted 5 years ago #

    the button I am trying to reproduce using your plugin has two values that I do not settings for in your plugin.

    I do see the "cmd" input in the generated code however it looks like it is set to "_donation" by default. Can this be changed?


  2. Johan Steen
    Plugin Contributor

    Posted 5 years ago #

    I believe those fields are used when you create a button on PayPal's site and then they are hosting it for you. At least the "hosted_button_id" is used for that and would provide no purpose for this plugin as it is not designed to use hosted buttons.

    About the "cmd" field, it can be used to decide if the PayPal button is a donation button, buy button, subscribe button and so on. I guess you want to change that to use the plugin for something else than a donation button?

    It would require to tweak the output code of the plugin. If you are comfortable with doing that you can locate the generate_html() function in the plugin and simply add an additional line within that function to set another value for the cmd.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PayPal Donations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic