Skip to content

Commit

Permalink
Merge pull request #86 from vippsas/feat/payment-redirect
Browse files Browse the repository at this point in the history
Feat/payment redirect
  • Loading branch information
Marcuzz authored Mar 18, 2024
2 parents a95710b + 02ce9f0 commit caf57ff
Show file tree
Hide file tree
Showing 26 changed files with 20,273 additions and 369 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
.svn/
/vendor/
node_modules/
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
1 change: 1 addition & 0 deletions assets/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => '84c5c9476111a1286299');
62 changes: 62 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.

240 changes: 240 additions & 0 deletions 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 caf57ff

Please sign in to comment.