Last Updated on 31 Jan 2023 by SEO Manager
<div id="paypal-button-container-P-5L000507871033626MLO25OA"></div> <script src="https://www.paypal.com/sdk/js?client-id=Afc4l8HbMalG9UnE9q3ELu4fZtDrKE0T5SidlvbkTDQz2vY0jkmaH1_uq4ACDg4oQQhnHBTT0H_-qBfG&vault=true&intent=subscription" data-sdk-integration-source="button-factory"></script> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'subscribe' }, createSubscription: function(data, actions) { return actions.subscription.create({ /* Creates the subscription */ plan_id: 'P-5L000507871033626MLO25OA' }); }, onApprove: function(data, actions) { alert(data.subscriptionID); // You can add optional success message for the subscriber here } }).render('#paypal-button-container-P-5L000507871033626MLO25OA'); // Renders the PayPal button </script>