When using these pages:
I select “Authorization Code” and a window pops up with the form asking for me to click “Authorize”. I click that, the window closes, and it drops me back on the form I was on.
I'd like to know how to recreate that behavior in my own app.
The form I'm using to collect payments doesn't handle a postback/reload very well. Right now I'm simply redirecting the whole form away to the authorization and when it finishes and comes back my form is in shambles.
Are there any examples/tutorials on how to open this less invasive version of the authorization form so I'm not having to do a full redirect away from my main form?
I tried opening the authorization request in a new tab, which works, but when it redirects back I now have my main form open in two tabs, which isn't an option.
Another side question I have, is there some way to pass the login credentials to the authorization request URL? The people using the form to collect payments are just temps hired by the client leasing our software. Ideally we don't want to have to share the account login credentials with them if we can help it.