๐Configuration
Introduction
Quick Start
Full Example
{
config: {
paypal: {
paypal_client: {
client_id: "",
client_secret: "",
is_live: false,
webhooks: {
enabled: false,
webhook_id: "",
},
},
merchant: {
business_name: "Test Business",
email_address: "",
website_url: "https://example.com",
logo_url: "",
additional_notes: "",
},
invoice: {
fee_in_percent: 5,
currency_code: "USD",
note: "",
terms_and_conditions: "Your terms and conditions",
},
minimum_payment: {
enabled: true,
minimum_in_percent: 50,
},
settings: {
allow_partial_payments: false,
},
logs: {
invoice_created: true,
invoice_paid: true,
invoice_cancelled: true,
invoice_refunded: true,
},
},
}
}PayPal Client
Creating a PayPal Application
paypal.paypal_client
paypal.paypal_client.webhooks
Merchant Details
paypal.merchant
Invoice Defaults
paypal.invoice
Partial Payments
paypal.settings
paypal.minimum_payment
Logging
paypal.logs
Webhook Notes
Last updated