Simple Membership Plugin › Forums › Simple Membership Plugin › PayPal Subscription: Deprecation of Adaptive Payment Commands
Tagged: Adaptive Payment Commands, membership, Paid, paypal, subscription
- This topic has 5 replies, 3 voices, and was last updated 5 years, 7 months ago by
LittleAmused.
-
AuthorPosts
-
October 21, 2020 at 3:44 pm #21371
LittleAmused
ParticipantHello dear forum. I am looking for a solution to a somewhat awkward problem: Our customer would like to build a portal on which a paid membership can be subscribed to. However, the function integrated in the plugin for creating PayPal Subscription Buttons via PayPal Adaptive Payment Commands is outdated and is no longer supported for new integrations (see https://developer.paypal.com/docs/archive/adaptive-payments/integration-guide/APCommands/).
But there is still the possibility to create subscription buttons directly at PayPal itself. Thanks to the JavaScript SDK the integration is also quite easy, no problems.
My question is now the following: How do I tell the plugin that a payment has been made? There should be something like a URL endpoint that can be called with parameters to uniquely link the PayPal account to the WordPress account. From PayPal I get all data from the SDK. Can you help me there?
To understand, the workflow is the following:
– Guest is not registered
– Guest wants a paid membership
– Guest pays in PayPal Popup (Popup from JavaScript SDK)
– Popup closes, but nothing happens on the site
From here on, you would have to be redirected to the registration page or, in the case of existing accounts, the next membership level would have to be activated. How do I do this?Best regards!
October 27, 2020 at 10:47 am #21394LittleAmused
ParticipantCan no one give me a short answer?
I can also try a different approach:The (deprecated) PayPal button sent a POST form to the same site. Can anyone tell me what is the minimum data required by the IPN?
October 29, 2020 at 2:33 pm #21402LittleAmused
ParticipantNo answers? Our Customer is not able to launch his platform, until he can provide subscriptions…
October 29, 2020 at 9:37 pm #21407The Assurer
ModeratorHave you actually experienced any issues, and have error messages to show us; or is this just a “thought experiment?”
October 30, 2020 at 1:03 am #21412admin
KeymasterI have no idea what you are talking about since our subscription buttons uses the Standard PayPal subscription. It doesn’t use the Adaptive payments API.
Are you talking about our following PayPal subscription button option? That doesn’t use adaptive payments:
https://simple-membership-plugin.com/create-paypal-subscription-button-inside-the-simple-membership-plugin/Nothing is deprecated for the PayPal subscription payments option that our plugin offers. So there is some kind of misunderstanding somewhere.
October 30, 2020 at 11:29 am #21413LittleAmused
ParticipantFirst of all a big thank you for your answers!
@The Assurer
It’s a bit strange to describe: The problem is, when you click on the Subscribe button you will be redirected to a PayPal error page for 70% of the time. The bigger problem is that there is only the information on the page that an error has occurred at the merchant. But there are no logs in the PayPal account (or I did not find them). The other 30% go error-free to the payment process. The behaviour of PayPal itself (i.e. the internal redirects) also differs between sandbox and live operation, I have noticed.
@Admin
Thanks for the link to the manual. I followed these instructions before I encountered my problem. In general the standard would be to link the PayPal interface via the API access data of the REST application (see: https://developer.paypal.com/docs/subscriptions/integrate/#1-set-up-your-development-environment). PayPal itself also offers a configurator for Subscription Buttons, which can easily be integrated via the JS-SDK (you get a small snippet there, which you can insert into the template).Maybe I was mistaken in the assumption that these integration are Adaptive Payment Commands, but you’ll come across them quickly in Google research.
The PayPal buttons are now connected to the customer’s homepage in live mode. Time has to show if this will become a bigger problem or if it will become unnecessary by itself. -
AuthorPosts
- You must be logged in to reply to this topic.