Title: Does this plugin return a variable on completion?
Last modified: January 22, 2019

---

# Does this plugin return a variable on completion?

 *  Resolved [jimleeder123](https://wordpress.org/support/users/jimleeder123/)
 * (@jimleeder123)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/does-this-plugin-return-a-variable-on-completion/)
 * I am thinking of setting up this plugin and have been reading through everything
   to see if I can find an answer but cannot.
 * When you make a payment with the “Buy Now” button, does it return a variable 
   to show whether payment was made or not? I’m hoping that this is the case so 
   I can show a button or not.
 * Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/does-this-plugin-return-a-variable-on-completion/#post-11128973)
 * [@jimleeder123](https://wordpress.org/support/users/jimleeder123/), When a payment
   is made, PayPal notifies the plugin on your site. The plugin then updates the
   order so you can see that you have received a payment.
 *  [Akram ul haq](https://wordpress.org/support/users/kamig478/)
 * (@kamig478)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/does-this-plugin-return-a-variable-on-completion/#post-11239637)
 * Same question here, now let’s say I am selling 3 packages, package one ID 1, 
   2nd with ID 2 and third with ID of 3. Now, how can I know which package user 
   purchased ?
 * Its really needed as I will update user data base based on his/her purchased 
   package. Like user purchased package 1 so I will update details to his/her database
   only from package one.
 * I hope I was able to make it understandable. Any help needed please ?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does this plugin return a variable on completion?’ is closed to new replies.

 * ![](https://ps.w.org/wp-paypal/assets/icon-128x128.png?rev=2722398)
 * [Payment Button for PayPal](https://wordpress.org/plugins/wp-paypal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-paypal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-paypal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-paypal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-paypal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-paypal/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Akram ul haq](https://wordpress.org/support/users/kamig478/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/does-this-plugin-return-a-variable-on-completion/#post-11239637)
 * Status: resolved