Skip to content

Commit

Permalink
Merge pull request #489 from flowforge/fix-stipe-invoice
Browse files Browse the repository at this point in the history
Fix creditnote vs creditnotes
  • Loading branch information
hardillb authored Apr 20, 2022
2 parents 7f9b286 + 6eaa90a commit e663a03
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 0.4.2: Maintence Release

- Fix for Stripe credit note create (#488) @hardillb

#### 0.4.1: Maintence Release

- Fix for Stripe "charge.succeeded" callback (#484) @hardillb
Expand Down
2 changes: 2 additions & 0 deletions docs/install/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ This is the container you can customise for your deployment.

Configuration details are stored in the `etc/flowforge.yml` file which is mapped into the `flowforge/forge-docker` container. You will need to edit this file to update the `domain` and `base_url` entries to match the DNS settings.

You also need to update the VIRTUAL_HOST entry in the docker-compose.yml file to use the same domain as in the etc/flowforge.yml file.

For more details on the options available, see the [configuration guide](../configuration.md).

### Running FlowForge
Expand Down
4 changes: 2 additions & 2 deletions forge/ee/routes/billing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ module.exports = async function (app) {
}
})
if (activation) {
// refund the actication test charge
await stripe.creditNote.create({
// refund the activation test charge
await stripe.creditNotes.create({
invoice: invoice.id,
lines: [{
type: 'invoice_line_item',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flowforge/flowforge",
"version": "0.4.1",
"version": "0.4.2",
"description": "An open source low-code development platform",
"scripts": {
"start": "node forge/app.js",
Expand Down

0 comments on commit e663a03

Please sign in to comment.