Skip to content

Commit

Permalink
feat: redirect page
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcuzz committed Mar 18, 2024
1 parent 777158a commit 02ce9f0
Show file tree
Hide file tree
Showing 19 changed files with 514 additions and 254 deletions.
17 changes: 17 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Vipps MobilePay Recurring - Development docs

## Updating language files

The easiest way to update language files is to first and foremost generate an up-to-date .pot file using wp-cli:

```bash
wp i18n make-pot . languages/vipps-recurring-payments-gateway-for-woocommerce.pot --exclude=node_modules,assets
```

Now you can translate the existing languages, or create new ones, using Loco translate or a similar plugin or tool.

Remember to make a json file from each language after editing the .po files. The json files are used by the front-end.

```bash
wp i18n make-json languages --no-purge --use-map=src/build.map.json
```
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Alternatively you could look into using WooCommerce "Early renewals": [https://d
* Added: Better handling of our special action pages.
* Fixed: Admin notice styling is now a bit better.
* Added: A setting to automatically capture MobilePay payments now even when they are physical products in order to prevent the payment reservation from getting cancelled after 7 days.
* Added: A landing page for payments. This allows us to check the status of a payment before we redirect to the order received/receipt page.

= 1.19.0 =
* Added: Support for paying with MobilePay in Finland, and later Denmark.
Expand Down
2 changes: 1 addition & 1 deletion assets/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-element'), 'version' => '442762189e908845707a');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => '84c5c9476111a1286299');
58 changes: 58 additions & 0 deletions assets/build/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/build/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 91 additions & 1 deletion assets/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 02ce9f0

Please sign in to comment.