Paddle setup
Fountain use the Paddle Billing API.
Setup in Fountain
Paddle configuration
return [
'andreasnymark.fountain' => [
'paddle' => [
'vendorId' => 1234,
'apiKey' => 'a3b…e68',
'apiUrl' => 'https://sandbox-api.paddle.com',
'notificationKey' => [
'completed' => 'pdl_ntfset_01h…RCY',
],
]
]
];
Option | Default | Type | Info |
---|---|---|---|
vendorId |
null |
Float | |
apiKey |
null |
String | |
apiUrl |
null |
String | |
notificationKey |
null |
Array | See notification key |
Notification key
Option | Default | Type | Info |
---|---|---|---|
completed |
null |
String | Notification key from Paddle. |
Setup in Paddle
API key
Login to your Paddle account. Go to Developers -> Authentication. Generate a new API key and add it to andreasnymark.fountain.paddle.apiKey
.
Notification key
Go to Developers -> Notifications. Generate a "New destination". Set notification type to webhook. URL is your website, in the style of www.example.com/webhook/paddle/completed. In the list of events, make sure transaction.completed
is checked.