Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pedrinho/cctexample

Repository files navigation

CCT Example

Simple example of Chrome Custom Tabs usage.

About

In order to improve the security, the PayPal security guidelines demands the use of Chrome Custom Tabs on Android. It is important that the PayPal page where the user input its login information is rendered by CCT. This repository is a simple implementation example that can be used as a reference.

Usage

After opening the app, there will be 2 buttons:

  • The Get Approval URL consumes an endpoint that generates an approval url and fill the text. You can generate an approval url using Postman for instance, but make sure that the return url parameter is set to the "cctexample://return" schema

  • Click on the Open CCT button. The URL provided in the textbox will be launched.

  • After login and sign the billing agreement, the PayPal will redirect to the return url (cctexample://return).

  • The object assigned to the schema will be executed.

About

Chrome Custom Tabs example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /