Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

tfulton/paypal-smartbuttons

Repository files navigation

paypal-smartbuttons

A project to exercise and test one's understanding of PayPal Smart Buttons.

Overview

The purpose of this project is to implement numerous variations of Smart Buttons. By going through this exersize, we familiarize ourselves with both the configurations overall.

Requirements

Implement individual checkout experiences using various Smart Button configurations. Including:

  • Horizontal Orientation
  • Vertical Orientation
  • Various FUNDING types
  • Various PayPal Button Types (Checkout, Pay, Buy Now, PayPal button)
  • Credit w/second button
  • Multi-Currency and Multi-Language Combinations (see supported currency and locale codes)
  • Combinations of the Above - depending on your appetite for experimentation.

HINT: not all combinations work together. For instance, the FUNDING.ELV type works only with Germany (DE) and Austria (AT), FUNDING.CREDIT works with US, GB and DE. Use these combinations to test your understanding of the options available. This is part of the challenge!

Implementation

Test and Validation

  • Page must render.
  • Complete payment flow. The included example completes the "execute" portion of the payment cycle.
  • Utilize the Postman collection included (or any PayPal REST collection used thus far) to complete payment life cycle events as desired.
  • Funds are deposited in the target sandbox merchant account as required by the currency and funding type.

Extra Credit

Try any of the following client side implementations depending on your interest:

About

PayPal Smart Button example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages