sCOREmdas 1.1.6

dotnet add package sCOREmdas --version 1.1.6
                    
NuGet\Install-Package sCOREmdas -Version 1.1.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sCOREmdas" Version="1.1.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="sCOREmdas" Version="1.1.6" />
                    
Directory.Packages.props
<PackageReference Include="sCOREmdas" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add sCOREmdas --version 1.1.6
                    
#r "nuget: sCOREmdas, 1.1.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package sCOREmdas@1.1.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=sCOREmdas&version=1.1.6
                    
Install as a Cake Addin
#tool nuget:?package=sCOREmdas&version=1.1.6
                    
Install as a Cake Tool

Fast

low Code

ifthenpay

sCOREmdas - IfThenPay Payments

This package helps you to get and generate payments in your ASP.NET Core application/website.💸

How to use

Initialization

To start add the following variables on top of your controller

  private CardCredentials cardCredentials;
  private MbWayCredentials mbWayCredentials;
  private Payments payments;
  private PaymentsRedirect PaymentsRedirect;
  private MBCredentials MBCredentials;
Configure the variables

Inside your controller load function or anywhere else you can set the all the variables above with the keys that Ifthenpay gives you. Like this:

  cardCredentials = new()
  {
    Token = <Credit Card Token>,
    URL = "https://ifthenpay.com/api/creditcard/init/"
  };

And you're good to go to your first payment request!

Send a MBWay payment request

The following function allows you to send a payment request via MBWay.

  return payments.SendMbWayRequest()
Parameter Type Description
credentials MbWayCredentials MBWay Token
reference string MBWay reference code
amount decimal Total Amount to pay
phoneNumber string Phone Number to send the request (Need country code)
email string Email of client (Opcional)
message string Resume of payment request like "ShopIt - TShirts"
Returns
Type Description
string Id of request to validate in future.

Contribution

Contribution always are welcomes! Contact me via LinkedIn

linkedin

Please always respect the effort and give crédits for another person projects!

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.6 324 1/18/2024
1.1.5 259 1/18/2024
1.1.4 263 1/18/2024
1.1.3 264 1/18/2024
1.1.2 268 1/18/2024

Add function to generate multibanco reference and entity codes to allow payments with MB (Services payments)