Skip to content

Commit

Permalink
Deploying to gh-pages from @ a75f335 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
MeganSteenkamp committed Aug 26, 2024
1 parent 74e615c commit 481ed25
Show file tree
Hide file tree
Showing 37 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion api/account-memberships/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/api-keys/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/asset-activities/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/asset-transfers/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/assets/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/bank-account-approvals/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/bank-account-connection-intents/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/bank-accounts/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/batch-types/farmlands-external-asset/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/batch-types/ticketek-ticket/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/batch-types/verifone-terminal-status/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/batches/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/businesses/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/events/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/funds-transfers/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/integration-requests/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/invitations/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/legacy-payment-requests/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/loyalty-program-memberships/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/loyalty-programs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/managed-integrations/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/media-uploads/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/merchant-configs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/merchants/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/pagination/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/patron-codes/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/payment-requests/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/profiles/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/promotion-memberships/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/promotions/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/quotas/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/scanned-codes/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/settlements/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/tokens/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/wallets/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions guides/ecommerce-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
});
</script><main class="flex flex-col min-h-full w-full pt-16 md:pl-64 xl:pl-80"><div class="flex items-center max-h-72 overflow-hidden"><img src="/default-cover.svg" aria-hidden="true" class="object-cover m-0 w-full h-24 md:h-full"></div><div class="relative mx-auto desktop-gutters flex justify-center"><div class="min-w-0 max-w-2xl flex-auto px-8 pb-16 pt-8 xl:pt-16 lg:max-w-none"><article><header class="mb-9 space-y-1"><p class="type-overline text-content-primary">
Guides
</p><h1 class="font-display text-3xl tracking-tight text-slate-900">eCommerce</h1></header><astro-island uid="Zju3u6" component-url="/_astro/Prose.8cdff347.js" component-export="default" renderer-url="/_astro/client.e0200ae5.js" props="{}" ssr="" client="load" opts="{&quot;name&quot;:&quot;Prose&quot;,&quot;value&quot;:true}" await-children=""><div class="prose prose-slate max-w-none prose-headings:font-display prose-headings:font-normal prose-h2:scroll-mt-16 prose-h2:mt-8 prose-h2:pt-8 prose-h2:border-t prose-h3:scroll-mt-20 prose-h4:scroll-mt-20 prose-lead:text-slate-500 prose-a:no-underline prose-a:text-content-primary hover:prose-a:no-underline prose-img:mb-8 prose-img:mx-auto prose-img:object-contain"><!--[--><astro-slot><p>Centrapay enables businesses to process payments with connected Centrapay assets online. To process online payments, businesses need to integrate with one of our eCommerce payment flows.</p>
</p><h1 class="font-display text-3xl tracking-tight text-slate-900">eCommerce</h1></header><astro-island uid="ZBvhFD" component-url="/_astro/Prose.8cdff347.js" component-export="default" renderer-url="/_astro/client.e0200ae5.js" props="{}" ssr="" client="load" opts="{&quot;name&quot;:&quot;Prose&quot;,&quot;value&quot;:true}" await-children=""><div class="prose prose-slate max-w-none prose-headings:font-display prose-headings:font-normal prose-h2:scroll-mt-16 prose-h2:mt-8 prose-h2:pt-8 prose-h2:border-t prose-h3:scroll-mt-20 prose-h4:scroll-mt-20 prose-lead:text-slate-500 prose-a:no-underline prose-a:text-content-primary hover:prose-a:no-underline prose-img:mb-8 prose-img:mx-auto prose-img:object-contain"><!--[--><astro-slot><p>Centrapay enables businesses to process payments with connected Centrapay assets online. To process online payments, businesses need to integrate with one of our eCommerce payment flows.</p>
<div class="not-prose my-5 flex p-5 space-x-5 bg-surface-secondary rounded-lg"><svg width="18" height="18" viewbox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" class="icon-md text-content-secondary w-6 h-6"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0.75C4.44365 0.75 0.75 4.44365 0.75 9C0.75 13.5563 4.44365 17.25 9 17.25C13.5563 17.25 17.25 13.5563 17.25 9C17.25 4.44365 13.5563 0.75 9 0.75ZM2.25 9C2.25 5.27208 5.27208 2.25 9 2.25C12.7279 2.25 15.75 5.27208 15.75 9C15.75 12.7279 12.7279 15.75 9 15.75C5.27208 15.75 2.25 12.7279 2.25 9ZM7.75 5.75C7.75 5.19771 8.19772 4.75 8.75 4.75C9.30228 4.75 9.75 5.19771 9.75 5.75C9.75 6.30229 9.30228 6.75 8.75 6.75C8.19772 6.75 7.75 6.30229 7.75 5.75ZM7.25 8C7.25 7.58579 7.58579 7.25 8 7.25H8.5C9.19036 7.25 9.75 7.80964 9.75 8.5V11C9.75 11.1381 9.86193 11.25 10 11.25H10.5C10.9142 11.25 11.25 11.5858 11.25 12C11.25 12.4142 10.9142 12.75 10.5 12.75H10C9.0335 12.75 8.25 11.9665 8.25 11V8.75H8C7.58579 8.75 7.25 8.41421 7.25 8Z" fill="currentColor"></path></svg><blockquote class="text-content-tertiary m-0 text-sm leading-5 font-normal flex-1"><!--[-->
<p>The Centrapay Checkout is under active development and its behavior, functionality, and availability may change without notice.</p>
<!--]--></blockquote></div>
Expand Down Expand Up @@ -78,7 +78,7 @@
MS->>CP: Create Payment Request
CP-->>MS: Payment Request created
MS-->>MP: Payment Request created
MP-->>-CP: Return Payment Request ID
MP-->>-CP: Return Payment Request
Note over CP: Show Payment Request details
Consumer->>CP: Complete payment
Note over CP: Close Centrapay Checkout popup
Expand All @@ -105,7 +105,7 @@
<span class="line"><span style="color:#EEFFFF"> window</span><span style="color:#89DDFF">.</span><span style="color:#82AAFF">centrapay</span><span style="color:#EEFFFF">(</span><span style="color:#89DDFF">{</span></span>
<span class="line"><span style="color:#EEFFFF"> </span><span style="color:#C792EA">async</span><span style="color:#EEFFFF"> </span><span style="color:#F07178">onClick</span><span style="color:#89DDFF">()</span><span style="color:#EEFFFF"> </span><span style="color:#89DDFF">{</span></span>
<span class="line"><span style="color:#89DDFF"> </span><span style="color:#545454;font-style:italic">// Create Payment Request</span></span>
<span class="line"><span style="color:#89DDFF"> </span><span style="color:#545454;font-style:italic">// Return Payment Request ID</span></span>
<span class="line"><span style="color:#89DDFF"> </span><span style="color:#545454;font-style:italic">// Return Payment Request</span></span>
<span class="line"><span style="color:#F07178"> </span><span style="color:#89DDFF">},</span></span>
<span class="line"><span style="color:#EEFFFF"> </span><span style="color:#C792EA">async</span><span style="color:#EEFFFF"> </span><span style="color:#F07178">onComplete</span><span style="color:#89DDFF">(</span><span style="color:#EEFFFF;font-style:italic">data</span><span style="color:#89DDFF">)</span><span style="color:#EEFFFF"> </span><span style="color:#89DDFF">{</span></span>
<span class="line"><span style="color:#F07178"> </span><span style="color:#89DDFF;font-style:italic">if</span><span style="color:#F07178"> (</span><span style="color:#EEFFFF">data</span><span style="color:#89DDFF">.</span><span style="color:#EEFFFF">paymentRequest</span><span style="color:#89DDFF">.</span><span style="color:#EEFFFF">status</span><span style="color:#F07178"> </span><span style="color:#89DDFF">===</span><span style="color:#F07178"> </span><span style="color:#89DDFF">&#39;</span><span style="color:#C3E88D">new</span><span style="color:#89DDFF">&#39;</span><span style="color:#F07178">) </span><span style="color:#89DDFF">{</span></span>
Expand All @@ -132,7 +132,7 @@
<li>
<p><code>onClick</code></p>
<p>This callback is triggered when the customer clicks the ‘Pay with Centrapay’ button.</p>
<p>The callback is expected to <a href="/api/payment-requests/#create-a-payment-request" target="_self" class="group inline-flex justify-center items-center text-interactive-secondary hover:text-interactive-secondary-hover"><span class="underline"><!--[-->Create a Payment Request<!--]--></span><span> </span><span class="rounded-sm bg-interactive-secondary group-hover:bg-interactive-secondary-hover h-3 w-6 inline-flex justify-center items-center"><span class="text-content-inverse-primary text-[10px]"> API </span></span></a> and return the Payment Request ID.
<p>The callback is expected to <a href="/api/payment-requests/#create-a-payment-request" target="_self" class="group inline-flex justify-center items-center text-interactive-secondary hover:text-interactive-secondary-hover"><span class="underline"><!--[-->Create a Payment Request<!--]--></span><span> </span><span class="rounded-sm bg-interactive-secondary group-hover:bg-interactive-secondary-hover h-3 w-6 inline-flex justify-center items-center"><span class="text-content-inverse-primary text-[10px]"> API </span></span></a> and return the Payment Request.
Our payment protocol supports several optional extensions. Please review the extensions below and determine which ones you need for your integration.</p>
<ul>
<li><a href="https://docs.centrapay.com/guides/line-items" target="_blank" class="group inline-flex justify-center items-center text-interactive-secondary hover:text-interactive-secondary-hover"><span class="underline"><!--[-->Line Items<!--]--></span><!----><svg width="18" height="18" viewbox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" class="icon-sm h-3 w-6"><path d="M16.5007 5.99867V1.49867H12.0007" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.5007 1.49867L6.50073 11.4987" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.50073 4.49867H2.50073C1.94845 4.49867 1.50073 4.94638 1.50073 5.49867V15.4987C1.50073 16.051 1.94845 16.4987 2.50073 16.4987H12.5007C13.053 16.4987 13.5007 16.051 13.5007 15.4987V9.49867" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></li>
Expand Down

0 comments on commit 481ed25

Please sign in to comment.