Skip to content

Commit

Permalink
[2d0ae07]: add - pagador en - voucher
Browse files Browse the repository at this point in the history
Adding info about pre-authorization and partial cancelling for Ticket
  • Loading branch information
ellencsilva committed Mar 28, 2024
1 parent 5900f14 commit 67d2eac
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 4 deletions.
2 changes: 1 addition & 1 deletion atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="https://braspag.github.io//"/>
<logo>https://braspag.github.io//assets/images/logo.png</logo>
<icon>https://braspag.github.io//assets/favicon.ico</icon>
<updated>2024-03-28T12:15:52+00:00</updated>
<updated>2024-03-28T12:29:35+00:00</updated>
<id>https://braspag.github.io//</id>
<author>
<name>Aasita Muralikrishna</name>
Expand Down
29 changes: 27 additions & 2 deletions en/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link href="https://braspag.github.io//en/"/>
<logo>https://braspag.github.io//en/assets/images/logo.png</logo>
<icon>https://braspag.github.io//en/assets/favicon.ico</icon>
<updated>2024-03-28T12:15:56+00:00</updated>
<updated>2024-03-28T12:29:39+00:00</updated>
<id>https://braspag.github.io//en/</id>
<author>
<name>Aasita Muralikrishna</name>
Expand Down Expand Up @@ -15886,7 +15886,32 @@ The example below covers the minimum required fields to be submitted for authori

&lt;h3 id=&quot;creating-a-voucher-transaction&quot;&gt;Creating a Voucher Transaction&lt;/h3&gt;

&lt;p&gt;A transaction with a voucher card is similar to a debit card transaction; only without the authentication process. Currently, only the &lt;em&gt;Alelo&lt;/em&gt; and &lt;em&gt;Ticket&lt;/em&gt; providers are supported in this modality.&lt;/p&gt;
&lt;p&gt;A transaction with a voucher card is similar to a debit card transaction; only without the authentication process.&lt;/p&gt;

&lt;p&gt;Currently, &lt;em&gt;Alelo&lt;/em&gt; and &lt;em&gt;Ticket&lt;/em&gt; providers are supported.&lt;/p&gt;

&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Characteristics&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Alelo&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;- Automatic capture when &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PaymentCapture&lt;/code&gt; = &lt;em&gt;true&lt;/em&gt; or not informed; &lt;br /&gt; - Does not allow posterior capture; &lt;br /&gt; - Allow total canceling;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ticket&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;- Automatic capture when &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PaymentCapture&lt;/code&gt; = &lt;em&gt;true&lt;/em&gt; or posterior capture (pre-authorization) when &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PaymentCapture&lt;/code&gt; = &lt;em&gt;false&lt;/em&gt;. &lt;br /&gt; - Allows total and partial canceling/refund. See more information at &lt;a href=&quot;https://braspag.github.io//en/manual/braspag-pagador#canceling/refunding-a-transaction&quot;&gt;Canceling/Refunding a Transaction&lt;/a&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;: when performing pre-authorization for voucher Ticket, the API will return &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PaymentStatus&lt;/code&gt; = 1 and will not return parameters &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Payment.CapturedAmount&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Payment.PaidDate&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4 id=&quot;request-12&quot;&gt;Request&lt;/h4&gt;

Expand Down
27 changes: 26 additions & 1 deletion en/manual/braspag-pagador.html
Original file line number Diff line number Diff line change
Expand Up @@ -4777,7 +4777,32 @@ <h2 id="voucher">Voucher</h2>

<h3 id="creating-a-voucher-transaction">Creating a Voucher Transaction</h3>

<p>A transaction with a voucher card is similar to a debit card transaction; only without the authentication process. Currently, only the <em>Alelo</em> and <em>Ticket</em> providers are supported in this modality.</p>
<p>A transaction with a voucher card is similar to a debit card transaction; only without the authentication process.</p>

<p>Currently, <em>Alelo</em> and <em>Ticket</em> providers are supported.</p>

<table>
<thead>
<tr>
<th>Provider</th>
<th>Characteristics</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Alelo</strong></td>
<td>- Automatic capture when <code class="language-plaintext highlighter-rouge">PaymentCapture</code> = <em>true</em> or not informed; <br /> - Does not allow posterior capture; <br /> - Allow total canceling;</td>
</tr>
<tr>
<td><strong>Ticket</strong></td>
<td>- Automatic capture when <code class="language-plaintext highlighter-rouge">PaymentCapture</code> = <em>true</em> or posterior capture (pre-authorization) when <code class="language-plaintext highlighter-rouge">PaymentCapture</code> = <em>false</em>. <br /> - Allows total and partial canceling/refund. See more information at <a href="https://braspag.github.io//en/manual/braspag-pagador#canceling/refunding-a-transaction">Canceling/Refunding a Transaction</a>.</td>
</tr>
</tbody>
</table>

<blockquote>
<p><strong>Important</strong>: when performing pre-authorization for voucher Ticket, the API will return <code class="language-plaintext highlighter-rouge">PaymentStatus</code> = 1 and will not return parameters <code class="language-plaintext highlighter-rouge">Payment.CapturedAmount</code> and <code class="language-plaintext highlighter-rouge">Payment.PaidDate</code>.</p>
</blockquote>

<h4 id="request-12">Request</h4>

Expand Down

0 comments on commit 67d2eac

Please sign in to comment.