gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: php check-payment.


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: php check-payment.
Date: Tue, 13 Mar 2018 13:08:00 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 3a92068  php check-payment.
3a92068 is described below

commit 3a9206832d875d75014e6ca9ebd402bb49e89291
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 13 13:07:48 2018 +0100

    php check-payment.
---
 doc/merchant-api.content.texi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi
index b491fa2..6f52342 100644
--- a/doc/merchant-api.content.texi
+++ b/doc/merchant-api.content.texi
@@ -394,6 +394,22 @@ curl -i 
"https://backend.demo.taler.net/check-payment?order_id=$ORDER_ID"; \
 @end verbatim
 @end example
 @end ifset
address@hidden LANG_PHP
address@hidden GOT_LANG 1
address@hidden
address@hidden
+$ORDER_ID = "2018.072.12.48.51-014DKDKBMHPDP";
+php > curl_init 
("https://backend.demo.taler.net/check-payment?order_id=$ORDER_ID";);
+php >  $options = array(CURLOPT_RETURNTRANSFER=>true,
+php (                   CURLOPT_CUSTOMREQUEST=>"GET",
+php (                   CURLOPT_HTTPHEADER=>array(
+php (                     "Authorization: ApiKey sandbox"));
+php > curl_setopt_array($c, $options);
+php > $r = curl_exec($c);
+php > echo $r;
address@hidden verbatim
address@hidden example
address@hidden ifset
 @ifclear GOT_LANG
 @example
 (example not available for this language)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]