Thread Wie baue ich das als Hash nach? (8 answers)
Opened by Jan at 2016-08-03 08:25

GwenDragon
 2016-08-03 09:10
#185217 #185217
User since
2005-01-17
14760 Artikel
Admin1
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
my %content = %{

        {
                "RequestHeader" => {
                        "SpecVersion"    => "1.3",
                        "CustomerId"     => "[your customer id]",
                        "RequestId"      => "[unique request identifier]",
                        "RetryIndicator" => 0
                },
                "TerminalId" => "[your terminal id]",
                "Payment"    => {
                        "Amount" => {
                                "Value"        => "100",
                                "CurrencyCode" => "CHF"
                        },
                        "OrderId"     => "Id of the order",
                        "Description" => "Description of payment"
                },
                "ReturnUrls" => {
                        "Success" => "[your shop payment success url]",
                        "Fail"    => "[your shop payment fail url]"
                }
        }
        
};

View full thread Wie baue ich das als Hash nach?