4F00-Group-3 / CMS

Main repository for the group project CMS
https://www.cosc.brocku.ca/~c4f00g03/react/build/
1 stars 2 forks source link

Pop-up window to appear with the sandbox username&password when PayPal payment is initiated #220

Closed subonja closed 4 years ago

subonja commented 4 years ago

When user gets to the PayPal screen, they are asked for a username/password. Need to give the user the sandbox credentials below in a popup:

Username: sb-odp9i1081433@personal.example.com

Password: dJQhG+S9

subonja commented 4 years ago

Going to do a basic popup page, but may need styling help later to match the look & feel of the rest of the site.

subonja commented 4 years ago

Did the popup, uses: https://www.npmjs.com/package/react-new-window

Styled it to match the background. Not sure if we want to style it up more or not.

subonja commented 4 years ago

Re-opening this issue due to the popup interfering with the Paypal redirect after successful payment. Need to look into the component options for either making the window disappear before redirect or an alternative means to display the credentials to the user.