paypal-express-checkout

WebJar for paypal-express-checkout

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.morbidick
ArtifactId

ArtifactId

paypal-express-checkout
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

paypal-express-checkout
WebJar for paypal-express-checkout
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/morbidick/paypal-express-checkout

Download paypal-express-checkout

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.morbidick/paypal-express-checkout/ -->
<dependency>
    <groupId>org.webjars.bowergithub.morbidick</groupId>
    <artifactId>paypal-express-checkout</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.morbidick/paypal-express-checkout/
implementation 'org.webjars.bowergithub.morbidick:paypal-express-checkout:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.morbidick/paypal-express-checkout/
implementation ("org.webjars.bowergithub.morbidick:paypal-express-checkout:1.0.1")
'org.webjars.bowergithub.morbidick:paypal-express-checkout:jar:1.0.1'
<dependency org="org.webjars.bowergithub.morbidick" name="paypal-express-checkout" rev="1.0.1">
  <artifact name="paypal-express-checkout" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.morbidick', module='paypal-express-checkout', version='1.0.1')
)
libraryDependencies += "org.webjars.bowergithub.morbidick" % "paypal-express-checkout" % "1.0.1"
[org.webjars.bowergithub.morbidick/paypal-express-checkout "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Polymer 2 wrapper for the Paypal Express Checkout button

Published on webcomponents.org

Button flow demo

Components

<paypal-button-express>

To work around paypals issue with ShadowDOM this element opens the paypal button in an embedded iframe and communicates via postMessage.

<paypal-button-express
  sandbox
  sandbox-id="my-id"
  amount="1.00"
  reference="your-payment-reference"
></paypal-button-express>

<paypal-button-form>

Using the (older) paypal form api, a robuster checkout can be accomplished. To get notified about payments you have to set notify to an IPN url on your site.

<paypal-button-form
  paypal-id="[email protected]"
  amount="1.00"
  reference="your-payment-reference"
></paypal-button-form>

Polymer build

To build include the paypal.html in your polymer.json.

"extraDependencies": [
  "bower_components/paypal-express-checkout/paypal.html"
]

Development

# Get dependencies
$ npm install

# Demo site
$ npm start

# Run tests
$ npm test

Versions

Version
1.0.1