Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/header.php on line 69

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/header.php on line 73

Error: Could not retrieve Internal Task details.

HR Manager | Staff-India

Notice: Undefined index: user_id in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 5

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/staffi7/wm.staff-india.com/inc/top_nav.php on line 9

Error: Could not retrieve Internal Task details.

Task Details

add monthly subscribe button to FM club website

Assigned To:
  1. (sammy@staff-india.com)
Assign By Admin On 2022-07-13
90%
Deadline:- 768 Days Over from Deadline. You Have Missed The Deadline 768 Days Ago

Task Details :-

hi Sammy,

 

This small task is to add a Paypal Button to the registration page on FM club website.

if you are unsure which website this is, and which page this is, you can ask Scott for guidance.

 

DEPENDING on which product the customer is choosing the CHECKOUT button will change. see the screenshto to know which button i am talking about.

 

So IF USER CHOOSE $1.00 package, then hide teh default button and SHOW this button:

 

(all this code is for this payment button)

<div id="paypal-button-container-P-2ED89149A4220091JMKG7MYI"></div>

<script src="https://www.paypal.com/sdk/js?client-id=AfROvAJ9RXt5AhSN1tR44ltp-yQAZ-ngt_Gb57rGbepv1UavdeAdTXbDbcEbOO7WiDB5kb9xWY_X4h7h&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-2ED89149A4220091JMKG7MYI'

        });

      },

      onApprove: function(data, actions) {

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

      }

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

</script>

 

 

***Please enusre this button is displaying correctly and it looks nice on the form.

Attach File :-

File: 1

Download

Task Current Status :-

Task Complete

Sub Task(s):

No Sub-task Added.

Task QA

Selected File:
Drag Your File Here
Or Click Here to pick

Comments  (13)

    Sammy 01-06-2022 22:16:57

    ok sure sir

    Sammy 01-06-2022 21:39:51

    ok sure sir

    Admin 01-06-2022 21:39:09

    ok i cant give you the code for the 0.78  button on this messaging. i will igve you on skype.

    Admin 01-06-2022 21:38:24

    below is hte code for showing teh button for $0.78 Option. add this button also for this option:

    Admin 01-06-2022 21:37:31

    thats because you are not using your brain mate.

     

    follow these steps:

     

    1. first user will see the default button only - and he will click this button to submit the data into the database (scott need to do this code because you said you cant do it yet)

    2. after user click teh default button, show a MODAL WINDOW with the paypal button. The user will click teh paypal button and do payment.

    finished. easy

    Sammy 01-06-2022 21:33:17

    i palce a paypal button for 1$ package. i try and do some code for saving user data into our database.

    but its not work,

    Sammy 01-06-2022 21:32:25

    i palce a paypal button for 1$ package. i try and do some code for saving user data into our database.

    but its not work,

    Sammy 01-06-2022 21:31:30

    i palce a paypal button for 1$ package. i try and do some code for saving user data into our database.

    but its not work,

    Admin 01-06-2022 17:19:16

    yes you are right you need to save teh data FIRST before taking customer to payment window.

     

    how will you do this?

    Sammy 30-05-2022 15:44:51

    Hello sir,

    Hope you well.

    accorderen to packages, button will change.
    if user choose one dollar packages they will see paypal button.


    But we need to save there input data, which data they give us for their Billing address.

    free packages has a submit button to pool there data and will save on database. but 1$ package are didn't have submit button 

    So

    i need to use some code for 1$ packages .

    it will save user given data and also able to work for paypal button.

     

     

    Sammy 30-05-2022 15:30:27
    Admin 29-05-2022 13:36:17

    this is good. it works. i didnt understand yor comment. this is completed yes?

    Sammy 26-05-2022 22:55:44

    due to complexity waiting for further instructions.


    Download