This plugin adds Paypal support to Play! Framework 1 applications.
require:
- paypal -> paypal 1.2.0
repositories:
- sismicsNexusRaw:
type: http
artifact: "https://nexus.sismics.com/repository/sismics/[module]-[revision].zip"
contains:
- paypal -> *
Add the following parameters to application.conf:
# Paypal configuration
# ~~~~~~~~~~~~~~~~~~~~
paypal.mock=false
paypal.url=https://thirdparty.paypal.eu
paypal.clientId=12345678
WebhookService webhookService = PaypalClient.get().getWebhookService();
WebhookData webhookData = webhookService.processWebhook(request.body);
We recommand to mock Paypal in development mode and test profile.
Use the following configuration parameter:
paypal.mock=true
This software is released under the terms of the Apache License, Version 2.0. See LICENSE
for more
information or see https://opensource.org/licenses/Apache-2.0.