wagnerwagner / merx

Merx is a plugin to create online shops with Kirby.
https://merx.wagnerwagner.de
102 stars 10 forks source link

Bug in documentation? #29

Closed HWWyes closed 3 years ago

HWWyes commented 3 years ago

The code snippet in the documentation, "Getting started / Setup / Options" repeats four times the same array key ww.merx.stripe.live.publishable_key which I believe is not correct. IMHO, it should rather read

return [
    'ww.merx.stripe.test.publishable_key' => 'pk_test_xxx…',
    'ww.merx.stripe.test.secret_key' => 'sk_test_xxx…',
    'ww.merx.stripe.live.publishable_key' => 'pk_live_xxx…',
    'ww.merx.stripe.live.secret_key' => 'sk_live_xxx…',
    'ww.merx.paypal.sandbox.clientID' => 'xxx…',
    'ww.merx.paypal.sandbox.secret' => 'xxx…',
    'ww.merx.paypal.live.clientID' => 'xxx…',
    'ww.merx.paypal.live.secret' => 'xxx…',
];
tobiasfabian commented 3 years ago

Thank you. It’s fixed:

https://merx.wagnerwagner.de/docs/getting-started/set-up#options