Skip to content

Commit

Permalink
B2C電子發票程式範例
Browse files Browse the repository at this point in the history
  • Loading branch information
AllennChang committed Dec 2, 2022
1 parent ffd8137 commit 5c9763c
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/Invoice/B2C/Allowance.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
1 change: 1 addition & 0 deletions example/Invoice/B2C/AllowanceByCollegiate.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/AllowanceInvalid.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/CancelDelayIssue.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/CheckBarcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/CheckLoveCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/DelayIssue.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetAllowance.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetAllowanceByCollegiateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
$arrayResponse = $factory->create(ArrayResponse::class);

var_dump($arrayResponse->get($_POST));

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetAllowanceInvalid.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetInvalid.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetInvoiceWordSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@

$response = $postService->post($input, $url);
var_dump($response);

1 change: 1 addition & 0 deletions example/Invoice/B2C/GetInvoicedResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
$arrayResponse = $factory->create(ArrayResponse::class);

var_dump($arrayResponse->get($_POST));

2 changes: 1 addition & 1 deletion example/Invoice/B2C/GetIssue.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion example/Invoice/B2C/Invalid.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion example/Invoice/B2C/InvoiceNotify.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion example/Invoice/B2C/Issue.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion example/Invoice/B2C/TriggerIssue.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion example/Invoice/B2C/VoidWithReIssue.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use Ecpay\Sdk\Factories\Factory;

require __DIR__ . '/../../../vendor/autoload.php';
Expand Down

0 comments on commit 5c9763c

Please sign in to comment.