Skip to content

lucmantovani/hands-on-workshop-secure-fields-card-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hands-On Workshop Secure Fields with Card Form

Welcome to the Hands-On Workshop Secure Fields with Card Form!

This workshop intends to guide people on building a safe payment card checkout by integrating to Mercado Pago Checkout API using Card Form.

This branch contains code at the initial state, before using Secure Fields. It is a good starting point if you want to follow the workshop. There is also a branch at each checkpoint.

About this project

💻 Technologies

💡 Requirements

  • Java 8 or higher (follow the download instructions here).
  • Read our instructions on how to create an application at the Mercado Pago Developer Panel in order to acquire your public key and access token. They will grant you access to Mercado Pago's public APIs.

⚙️ Installation

  1. Clone the project.
git clone https://github.com/lucmantovani/hands-on-workshop-secure-fields-card-form.git
  1. Go to the project's folder.
cd hands-on-workshop-secure-fields-card-form

🌟 How to run it

  1. Run the following command to start the application:

Linux / MacOS

./mvnw spring-boot:run -Dspring-boot.run.arguments="--mercado_pago_sample_public_key=YOUR_PUBLIC_KEY --mercado_pago_sample_access_token=YOUR_ACCESS_TOKEN"

Windows

./mvnw.cmd spring-boot:run -Dspring-boot.run.arguments="--mercado_pago_sample_public_key=YOUR_PUBLIC_KEY --mercado_pago_sample_access_token=YOUR_ACCESS_TOKEN"
  1. Remember to replace the values of YOUR_PUBLIC_KEY and YOUR_ACCESS_TOKEN with the corresponding credentials from your account.

  2. Navigate to http://localhost:8080 in your browser.

🧪 Testing

On our testing instructions you'll find credit cards that can be used along with this sample and a guide on how to create test users.

Thank you for coming! I hope you have enjoyed! 😄

Should you have any questions, don't hesitate to contact me.

🤝 Contributing

You can contribute to this project by reporting problems and bugs. Before opening an issue, make sure to read our code of conduct.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published