Bayar Domain

Wednesday, 20 July 2022

Pembayaran Website menggunakan Paypal

Berikut ini adalah link untuk pembayaran Website menggunakan Paypal


<div id="paypal-button-container-P-4RE88117CV5740117MLL4ZRQ"></div>

<script src="https://www.paypal.com/sdk/js?client-id=AXcDnF-f7JXXl-5JFrJcYJ-ShABUDXPRig70sVA9lO2HhDNxDB0l7RkHla0W1BtpEYAyny3Ab5UoAVXO&vault=true&intent=subscription" data-sdk-integration-source="button-factory"></script>

<script>

  paypal.Buttons({

      style: {

          shape: 'rect',

          color: 'blue',

          layout: 'vertical',

          label: 'subscribe'

      },

      createSubscription: function(data, actions) {

        return actions.subscription.create({

          /* Creates the subscription */

          plan_id: 'P-4RE88117CV5740117MLL4ZRQ'

        });

      },

      onApprove: function(data, actions) {

        alert(data.subscriptionID); // You can add optional success message for the subscriber here

      }

  }).render('#paypal-button-container-P-4RE88117CV5740117MLL4ZRQ'); // Renders the PayPal button

</script>

No comments:

Post a Comment