I need help with Sandbox Testing for my website

OssieINXS1
Contributor
Contributor

Please help me before i give up on PayPal for my website!

I have been studying and attempting to include a PayPal standard pay button on my website for at least 3 days.

I have watched videos and read docs until they repeat themselves.

My biggest fault is i don't give up attempting to do something before i bother others with my coding problems.

 

1.) I have created an Ecommerce website in PHP code.

2.) I have created a PayPal developer account.

3.) I have created a test account in sandbox accounts

4.) i have logged into the sanbox account with those details. All fine

5.)

Inside the developer account i have  selected "Pay & Get paid" - "Pay links and buttons" created a button with the following details.

 

Link- https://www.paypal.com/ncp/payment/Q8T2N6BWDKF6A

 

HTML - <script src="https://www.paypal.com/sdk/js?client-id=BAAxb330PcpIVTEbDev1lJN94cJMr9s7aTPYMX4Ojo-89rFzbgKFWDIu8DrP..."></script>

<div id="paypal-container-Q8T2N6BWDKF6A"></div>

<script> paypal.HostedButtons({ hostedButtonId: "Q8T2N6BWDKF6A", }).render("#paypal-container-Q8T2N6BWDKF6A") </script>

 

I place this button code into one of my web pages.

"It does not show anything but the contact error????"

 

At some stages in the last days i have managed to somehow have the buttons show and bring up the login form.

I have an active personal PayPal account and this works when this form is loaded.

 

When i try to put in the test account details it does not log me into the test account but defaults back to card details.

 

Without a doubt the most frustrating thing i have attempted in my early programming years.

There are so many videos on this subject that claim the How to it is sensory overload.

Can you pleas point me in the right direction before I give up on paypal and use stripe?

 

Cheers Ossie

 

Login to Me Too
1 REPLY 1

MTS_AkshayKumar
PayPal Employee
PayPal Employee

Hi @OssieINXS1

 

I understand that you've come across a problem with the "Pay links and buttons" code. After embedding this button code on your website, an error surfaced.

 

I would suggest you to make sure your account is verified and confirmed without any account limitations. If you encounter any difficulties during this process, please reach out to our Customer Support Team for further assistance using the link https://www.paypal.com/smarthelp/contact-us

 

If you're still facing the issue, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with detailed error information.  

 

Thanks,

Akshay Kumar Swamy,

PayPal MTS.

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.