diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-02-15 17:26:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-02-15 17:26:56 +0100 |
commit | 095639e421333a22cfd118b8c7be8b9b55ce474d (patch) | |
tree | ca4d84183a8d744fdcd2a1ae7293ad9a7f0acf13 /src/frontend_blog/essay_cc_pay-fulfillment.php | |
parent | 19f94aa343c693b04664c4be86a0388f4bdf3835 (diff) | |
parent | 686dacf4a9aafeadb8795aa65e11b5473e27631c (diff) | |
download | merchant-095639e421333a22cfd118b8c7be8b9b55ce474d.tar.gz merchant-095639e421333a22cfd118b8c7be8b9b55ce474d.tar.bz2 merchant-095639e421333a22cfd118b8c7be8b9b55ce474d.zip |
Merge branch 'master' of ssh://taler.net/var/git/merchant
Diffstat (limited to 'src/frontend_blog/essay_cc_pay-fulfillment.php')
-rw-r--r-- | src/frontend_blog/essay_cc_pay-fulfillment.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/frontend_blog/essay_cc_pay-fulfillment.php b/src/frontend_blog/essay_cc_pay-fulfillment.php new file mode 100644 index 00000000..5026c2a9 --- /dev/null +++ b/src/frontend_blog/essay_cc_pay-fulfillment.php @@ -0,0 +1,22 @@ +<?php + +include '../frontend_lib/util.php'; +include './blog_lib.php'; + +session_start(); +if (!$_SESSION['cc_payment']) +{ + echo "No session active"; + die(); +} +$article = get($_GET['article']); +if (null == $article) +{ + http_response_code(400); + echo "Bad request (no article specified)"; + return; +} +$article_doc = get_article($article); +echo $article_doc->saveHTML(); + +?> |