Welcome back.
Now it's time to test this button and this payment.
So to do this, first of all, you need to add something to the cart, and then you need to place the
order and follow all of the steps.
And then finally, you will end up here in the payment page.
Now, let's work on this line here refreshed and we tour that the code took effect and leave you.
Now click on PayPal balance about it and let me click on PayPal.
So if I click on it, a pop up window will be displayed.
And as you can see, it will be displayed here a a pop up window.
But now we need to to enter an email and a password.
So what is the email that you need to enter?
You need to enter the b the, the, the email that you have created earlier, the via email, remember.
Let me show you where it is.
So you need to you need to go back to your developer account.
And in your account you should find you should look for the the buyer email.
So this is the business email.
The business of course, the business is not going to be to themselves.
The buyer should pay to their business.
So let me go back to the through my account, through my apps and go to the to the email.
So you need to head on over to your account and then click on accounts under sandbox, click on accounts,
and here you'll find your all, all of your business and personal accounts.
So we need to use the personal account.
I'm going to copy the email.
You need to copy the email.
This email.
You need to copy it.
You need to copy this email.
Let me click here on you idiot account.
And as you can see, this is the the total this is the complete email ID you need to copy this I.D.
You need to copy this idea and you need to know the the password because I'm going to be using these
in order to log in and test.
So I'm going to copy this and then I'm going to head on over to my website.
So remember my website when I clicked on the button here is asking me to log in to allow me paste the
email alimi paste to the password.
So let me go back to PayPal.
And here we have the passport.
Lamy Copy of the password, which is this password.
Let me copy the password.
Illini Here then over back to the.
To the website.
And now let me paste the password.
Help me here.
Click on log in.
So as you can see, I will be logged in now.
And here it says 155.
So it's correct.
Remember, the the the amount is 155.
This is the amount 155.
So now the amount has been transferred to people correctly, 155.
So as you can see, the user can can now pay using PayPal balance or Visa card or anything, any method
that PayPal provides.
Let's use the PayPal balance and then let me click on here pay.
Now let me click on pay now.
And he says processing.
And as you can see here, it says transaction completed and it returned here a number where we can use
it later but it this number, this transaction completed it means that payment was processed processed
successfully and it means that everything's perfect.
Now, what we need to do is that we need to make sure that this happens correctly.
So I'm going to head on over back to PayPal.
Now in people remember we have two emails, we have the business and personal.
Let's check the let's now check the balance of the business and the balance of the buyer.
So the customer, this is the email of the customer.
Let me click on funding and see if money went down or not.
As you can see now, the balance of the balance initially was 5000, now the balance is 404,845.
So the balance decreased by $155, which is the amount of money that the user had to pay to us in order
to get the issues similarly in the.
In the business account.
If you check the funding here, if you click on edit account and if you click on funding, if you click
let me show you this.
If you click on funding, you'll find that the balance increased here.
The balance now is 55,149.
Why?
It's not 155.
Why it's 149?
Because PayPal takes a commission.
PayPal takes a commission.
This is why it it's not exactly 155.
So whenever you make whenever you make a payment with PayPal before it is going to take a commission,
I think it's 2.5 to up to 5%.
But it depends upon your country and it depends upon your business.
I mean, things can affect the the amount of money that people takes from this total, but you are going
to get the year the amount, and it means that it works successfully.
So now we know that payment was processed successfully and we a payment has been integrated successfully
into our website.