Skip to content

Commit

Permalink
Add card and update style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwok-he-Chu committed Sep 22, 2023
1 parent f97cb51 commit e860767
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion in-person-payments-example/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public IActionResult Result(string status, string refusalReason = null)
img = "failed";
break;
case "success":
msg = $"Your transaction has been successfully processed.";
msg = $"Your request has been successfully processed.";
img = "success";
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion in-person-payments-example/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<li class="integration-list-item">
<a asp-area="" asp-controller="Home" asp-action="CashRegister" class="integration-list-item-link">
<div class="title-container">
<p class="integration-list-item-title">Cloud Terminal API /sync Integration</p>
<p class="integration-list-item-title">Click here to settle the bill for a restaurant</p>
</div>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion in-person-payments-example/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/termin
- An Adyen account, learn how an Adyen account is structured in [our documentation](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/)


![In-person Payment Demo](wwwroot/images/cardinpersonpayment.gif)
![In-person Payments Demo](wwwroot/images/cardinpersonpayments.gif)

This demo leverages Adyen's API Library for .NET ([GitHub](https://github.com/Adyen/adyen-dotnet-api-library) | [Docs](https://docs.adyen.com/development-resources/libraries?tab=c__5#csharp)).
You can find the [Terminal API documentation](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/terminal-api-reference/) here.
Expand Down
11 changes: 6 additions & 5 deletions in-person-payments-example/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,21 +96,21 @@ a:hover {
}

.integration-list-item {
background: #fcfcfc;
background: #f0f0f0;
border-radius: 8px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
border: 2px solid black;
margin: 32px 0px 16px 0px;
transition: transform 0.15s ease-in-out, background 0.15s ease-in-out, border 0.15s ease-in-out;
}

.integration-list-item:hover {
box-shadow: 0 16px 24px 0 #e5eaef;
text-decoration: none;
border: 2px solid #0abf53;
transform: scale(1.005);
background: #f2f2f2;
transform: scale(1.02);
border: 1px dashed #0abf53;
}

.integration-list-item-link {
Expand All @@ -134,6 +134,7 @@ a:hover {
margin: 0;
text-align: center;
font-weight: 700;
color: black;
}

@media (min-width: 768px) {
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The [`authorisation adjustment example`](authorisation-adjustment-example) repos

The [in-person payments example](in-person-payments-example) features an in-person payment [cloud terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/choose-your-architecture/cloud/) integration. Within this demo app, you can make in-person payments using a terminal, initiate reversals (refunds) and check transaction statuses.

![Card Checkout Demo](checkout-example-advanced/wwwroot/images/cardcheckout.gif)
![Card In-person Payments Demo](in-person-payments-example/wwwroot/images/cardinpersonpayments.gif)

## [Gift Card Example](giftcard-example)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/adyen-examples/adyen-dotnet-online-payments/tree/main/giftcard-example)
Expand Down

0 comments on commit e860767

Please sign in to comment.