From ed6cf5df3b7d22913f53c1ac88818c825a8f7968 Mon Sep 17 00:00:00 2001 From: Andrzej Rojek Date: Wed, 25 Sep 2013 22:32:45 +0200 Subject: [PATCH] Fixed hardcoded temp dir path, updated production API URL --- README.md | 2 +- demos/api/config.php | 7 ++++--- demos/paymentDirect/config.php | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f48b6aa6..c05bcd4c 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ to store temporary files. This path should be outside your www folder. It could be `/tmp/` or `/var/tmp/` or any other location that PHP can write to. `$api->Config->BaseUrl` is set to sandbox environment by default. To enable production -environment, set it to `https://mangopay-api.leetchi.com`. +environment, set it to `https://api.mangopay.com`. require_once '{your-installation-dir}/MangoPaySDK/mangoPayApi.inc'; $api = new MangoPay\MangoPayApi(); diff --git a/demos/api/config.php b/demos/api/config.php index c4faeae3..e3ef17c8 100644 --- a/demos/api/config.php +++ b/demos/api/config.php @@ -1,11 +1,12 @@