summaryrefslogtreecommitdiff
path: root/examples/blog/essay_fulfillment.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/essay_fulfillment.php')
-rw-r--r--examples/blog/essay_fulfillment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blog/essay_fulfillment.php b/examples/blog/essay_fulfillment.php
index 17956418..b710621d 100644
--- a/examples/blog/essay_fulfillment.php
+++ b/examples/blog/essay_fulfillment.php
@@ -79,7 +79,7 @@
$hc = json_decode($resp->body->toString(), true)['H_contract'];
$my_payment['hc'] = $hc;
log_string("sending payment event");
- $js_code = "executePayment(\"$hc\", \"$pay_url\", \"$offering_url\");";
+ $js_code = "taler.executePayment(\"$hc\", \"$pay_url\", \"$offering_url\");";
$cc_page = template("./essay_cc-form.html", array('article' => $article, 'jscode' => $js_code));
echo $cc_page;
return;