- This topic has 4 replies, 3 voices, and was last updated 4 years, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › To know if a user used the buy button or the recurring subscription button
We have two buttons for the same product, one for purchase and one for subscription to make it easier for users.
Is it possible to know if a user used the buy button (link) or the recurring subscription button to make the payment?
Thank you very much, kind regards.
Each button type has a different “button ID” that will show up in the debug logs. Also, any differences in the amount or length of payment periods will show up in the membership display panels.
And if you are logged into your PayPal account, this link will display all of your accounts receivable subscriptions:
https://www.paypal.com/billing/plans
Out of curiosity, what is the situation that requires you to know?
Thank you very much.
Yes, we were actually able to verify that the person had chosen the recurring payment and then forgot.
We have activated a single payment button and a recurring payment button with the same amount so that they can choose whether to renew the automatic subscription, or manual after receiving the notification email that the subscription expires (it is very useful because it is a common circumstance); we have a recent record of a payment in the plugin payment log, then we received a request to cancel it through Paypal and, in addition to making a refund and making the account free on the web, we told this person that check the part of automatic payments in Paypal.
Another little tip is to look at the “Subscriber ID/Reference” field’s value of the member’s profile in question. If that field has a value like “I-XXXXX”. It means it was a PayPal subscription because there is always a dash (-) in PayPal’s subscriber ID value.
One time transaction (like a buy now button) will have a normal transaction ID which won’t have the dash.
Thank you very much for the tip, there is indeed a Transaction ID and a Subscriber ID in the payment record in the plugin log, I had missed that detail, thank you very much.
eMember is a great plugin with a great team behind it, kind regards.