diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-27 17:50:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-27 17:50:10 +0100 |
commit | dc8a704947879e241ccbb575c726ecd1d1b3df66 (patch) | |
tree | 55fa8a407cee5c762e1ec0153453a30d284f42b0 | |
parent | ed4772040b61f51d7a3e6806d6055180f0b53ccd (diff) | |
download | woocommerce-taler-dc8a704947879e241ccbb575c726ecd1d1b3df66.tar.gz woocommerce-taler-dc8a704947879e241ccbb575c726ecd1d1b3df66.tar.bz2 woocommerce-taler-dc8a704947879e241ccbb575c726ecd1d1b3df66.zip |
use correct API KEY
-rwxr-xr-x | server-build/QEMU-autobuild/buildWebstore.sh | 2 | ||||
-rw-r--r-- | server-build/my-simple-cdd/README | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/server-build/QEMU-autobuild/buildWebstore.sh b/server-build/QEMU-autobuild/buildWebstore.sh index 68ea1c4..4701256 100755 --- a/server-build/QEMU-autobuild/buildWebstore.sh +++ b/server-build/QEMU-autobuild/buildWebstore.sh @@ -211,7 +211,7 @@ EOF # Configure gnutaler Plugin -sudo -u www-data wp wc --user=admin payment_gateway update gnutaler --enabled=true --settings='{"title":"GNU Taler","GNU_Taler_Backend_URL":"http:\/\/backend.demo.taler.net\/","GNU_Taler_Backend_API_Key":"Sandbox","Payment_url":"payto:\/\/x-taler-bank\/bank.demo.taler.net\/Merchant","merchant_name":"GNU Taler WooCommerce Demonstrator"}' +sudo -u www-data wp wc --user=admin payment_gateway update gnutaler --enabled=true --settings='{"title":"GNU Taler","GNU_Taler_Backend_URL":"http:\/\/backend.demo.taler.net\/","GNU_Taler_Backend_API_Key":"ApiKey sandbox","Payment_url":"payto:\/\/x-taler-bank\/bank.demo.taler.net\/Merchant","merchant_name":"GNU Taler WooCommerce Demonstrator"}' # install OIDC plugin (needed for re:claimID integration) diff --git a/server-build/my-simple-cdd/README b/server-build/my-simple-cdd/README index a5f8fe3..496d6cf 100644 --- a/server-build/my-simple-cdd/README +++ b/server-build/my-simple-cdd/README @@ -63,12 +63,13 @@ should be able to simply re-run it using: (it will also re-run on each boot until it has succeeded). +You now MUST set up WooCommerce defaults. To do this: +a. Log into the WooTaler site in your host system at 127.0.0.1:9999/wp-admin/. as "admin" with passphrase "admin-pass" +b. Navigate to 127.0.0.1:9999/wp-admin/admin.php?page=wc-setup and go through the annoying WooCommerce setup wizard (Note that many options are enabled by default, and you have to turn them off.)' +c. Change the currency to KUDOS to make it work with the demo backend (or change the backend)' +d. Go into the Wordpress configuration for the OIDC plugin (which is NOT under WooCommerce, but under WordPress settings), and click "safe" (no need to actually change options). -Now, open "https://localhost:9999/" in a browser (you can do so in the -guest or the host). Go into the WooCommerce configuration for the OIDC -plugin, and click "safe" (no need to actually change options). - -Then, finally, run: +Finally, run: # yes | /usr/local/bin/deploy-reclaim.sh |