Questions tagged [mastercard]

Mastercard provides a payment interface that can be used to programmatically handle payments via credit card.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
24 views

Get Mastercard conversion rate without using their API [closed]

I am trying to get a currency conversion from Mastercard but do not want to use their paid API. I will be doing very few queries and it does not need to be fast/efficient (maybe 5 per queries per day ...
Josh's user avatar
  • 39
0 votes
1 answer
92 views

Error while integrating MPGs with flutter

I'm having an issue when working with MPGs. The payment source provided the HTML code first, and I obtained the season ID via an API request. https://mcb.gateway.mastercard.com/api/rest/version/75/...
NehruJr's user avatar
0 votes
0 answers
73 views

How to get results in the rerun Url from MPGS?

He integrate MPGS (show checkout page) but we cant get responses in the return Url can someone give us what the PHP code to be add in the checkout page and in the payment results page? Here our ...
Mohamed963's user avatar
1 vote
0 answers
47 views

MPGS error callback url on "Unsuccessful Transaction"

I want Mastercard to redirect to a specific page on transaction being unsuccessful. I am using below API: https://test-gateway.mastercard.com/api/rest/version/{version}/merchant/{merchantId}/session ...
peehu gandhi's user avatar
0 votes
0 answers
68 views

'INVALID_REQUEST' error in Checkout.configure() function". in console

This is the code which I tried for mastercard implementation in php. Got the Sessionid using rest api version 59. but after session when it need to go to checkout page getting blank response. When ...
Yogesh Mali's user avatar
0 votes
0 answers
29 views

"cause":"INVALID_REQUEST","explanation":"Unexpected parameter 'shipping.address.city'"}

I am using opencart. I have already build a module using mastercard payment gateway services. Currently am running on old API Version, which is 55. Now am planning to upgared my API version to latest. ...
Xavier Issac's user avatar
0 votes
0 answers
86 views

MPGS Hosted Checkout frame not loading

I'm facing a problem making MPGS Hosted Checkout work. I followed their simple guide in this link: https://eu-gateway.mastercard.com/api/documentation/integrationGuidelines/hostedCheckout/...
Steve Roseik's user avatar
2 votes
0 answers
248 views

MPGS Direct Payment 3DS cannot finalise payment

I'm Trying to make the payment with 3DS work, I have followed the three steps in this link: https://eu-gateway.mastercard.com/api/documentation/integrationGuidelines/supportedFeatures/...
Steve Roseik's user avatar
0 votes
1 answer
80 views

How to work with MPGS session.js in an SPA

Following the docs from MPGS session we implemented the "session.js" SKD in a Single Page Application (SPA). Some unexpected behaviour takes place... and the SDK malfuncitons as describbed ...
The Fabio's user avatar
  • 5,707
1 vote
0 answers
152 views

Second Generate AC command returns 6A86 after successful First Generate AC command in EMV transaction

I am currently implementing an EMV transaction and have encountered an issue where my Second Generate AC command is returning a "6A86" response code when called immediately after a ...
Lilvinco's user avatar
1 vote
0 answers
129 views

"error: using bridging headers with module interfaces is unsupported" when attempting to run the sample MerchantCheckoutApp from MasterPass docs

I am attempting to run the MasterPass sandbox sample app in Xcode 13.3 provided by the MasterPass docs, however the error: using bridging headers with module interfaces is unsupported error in my ...
Christian Simbarashe's user avatar
0 votes
0 answers
207 views

EMV get application transaction counter fails for MasterCard but not for VisaCards (Java)

I'm trying to read the Application Transaction Counter (ATC) from a payment (credit) card. Unfortunately I get a positive response only for VisaCards but not for MasterCards. This seems to be unusual ...
Michael Fehr's user avatar
  • 5,965
2 votes
0 answers
100 views

3DS Security check in MasterCard Gateway

Im trying to implement payments using MasterCard Gateway for android i follow the steps in the documentation i reach the step where i get the HTML Response for 3DS i use testing card to check it but ...
Sami Shorman's user avatar
0 votes
0 answers
58 views

Account to account transaction with MasterCard

I need to consume an API MPGS in which an account to bank account transaction is required. Can you make transactions with this API? https://na-gateway.mastercard.com/api/documentation/apiDocumentation/...
yulio64neos's user avatar
0 votes
0 answers
304 views

How can I render html code in flutter web

I am trying to render some HTML code in flutter web which takes a dynamic value of sessionID and that's the reason I cannot have the html file as a asset. I've also tried a lot of packages but they ...
Ali Akbar's user avatar
  • 131
0 votes
0 answers
143 views

Mastercard payment api's are giving 503 in sandbox

I have been trying for about a month now to integrate mastercard api's in my flutter app but all of them are giving me 503 error and flutter debugger gives this and it's on api response ...
Ali Akbar's user avatar
  • 131
0 votes
0 answers
84 views

Magento 2 - MasterCard Payment Gateway Services

https://ontap.wiki/magento-mastercard-payment-gateway-services/ I added this extension on my website but trasaction is declined. giving this response 'response' => array ( 'error' => array ( '...
Galib's user avatar
  • 1
0 votes
1 answer
139 views

Remove Unknown tags (C3, BF40, C2) from TLV using TLVUtility on terminalSdk-2.0.3.jar

I am trying to remove some Unknown tags (C3, BF40, C2,.. etc) from ByteArray using TLVUtility (mastercard class from terminalSdk-2.0.3.jar), Tags was not removing from the ByteArray. I am trying like ...
SHIDHIN TS's user avatar
  • 1,599
0 votes
1 answer
421 views

Google Pay processing with MPGS

We are working on a project where we want to accept Google Pay payments with MasterCard Payment Gateway Services (MPGS) as the processor. We have all our merchant id from Google and MPGS and are able ...
mr-nobody's user avatar
0 votes
0 answers
105 views

How to implement lesssignificant24bytes Function

Example : Input (accountId): 63617264686F6C6465726E616D654077616C6C657470726F 76696465722E636F6D Expected Output : 123CCB2F30BA420B17F837DF60E2FC9D6965A74476849FC D43A640F792A2B358 public String ...
raghad's user avatar
  • 1
0 votes
1 answer
48 views

Emv question: link different token with “person”

As I know every time when user add the same card to ApplePay/GooglePay it’s create a new token. When I read payment data over nfc is it have any tag to identify user? It’ mean any constant data for ...
user1786639's user avatar
0 votes
1 answer
176 views

M-TIP18 Test 01 scenario 01

I'm working on the M-TIP - EMVCo L3 build 280 certification and on Test case 18 01 01 I keep receiving an error on the second generation of AC, the terminal keeps requesting the TC instead of AAC when ...
Obaidah Alqudah's user avatar
-1 votes
1 answer
119 views

MTIP 06 Test 4 Scenario 1 failing with Second GEN AC and Issuer Scripts

We are having issues with the MTIP 06 test cases, and they are all responding like this example. APDU Validations as follows: Passed: In Read Record PAN is correct (5A) Passed: In First GEN AC, Tag ...
acodingguy's user avatar
0 votes
0 answers
58 views

MasterCard API can't find file

I am trying yo use Transaction Notifications API. In their website they're asking to get the .pem and .p12 files to the Java project resources. I can not find the .pem and do not understand what I'm ...
omer zvulun's user avatar
0 votes
1 answer
189 views

How to retrieve AFL from mastercard?

I'm trying to read some data like track 2 from mastercard contactless. But the PDOL not returned after select AID command, so how can I construct GPO to read AFL? to initiate read records comnand. If ...
user3770585's user avatar
0 votes
2 answers
900 views

mpgs Transaction: Pay.Tokenize payment process issues

I'm integrating MPGS (Mastercard Payment Gateway Services). I want to use token to pay. But when I call the API Transaction "Pay", I get the wrong result. I want to know what went wrong. ...
Leo777's user avatar
  • 1
0 votes
2 answers
1k views

EMV Tag 91 - why the last 2 bytes are "0010"?

EMV Tag 91 in the following example, why the last 2 bytes are "0010"? example: TLV [910ABCF266A64FF136630010] I need most help Thanks!!!
Angelica Torres's user avatar
1 vote
0 answers
160 views

Implement Mastercard Gateway Android SDK in Xamarin.Forms

I am trying to implement the Mastercard Gateway Android SDK in Xamarin.Forms but according to the documentation I need to edit the gradle.properties file which is not present in Xamarin.Forms. Is it ...
HamdyAli's user avatar
  • 173
0 votes
2 answers
2k views

MPGS (mastercard gateway) returns error but works when using plugin in woocommerce or opencart

I am trying to implement MPGS payment gateway in php. The details I am using are same that are used and are working when using 3rd party plugin in woocommerce woo mpgs and in open cart using mpgs ...
Mustafa sabir's user avatar
0 votes
0 answers
1k views

Mastercard Hosted Checkout session

HOW I CAN USE session IN Mastercard Hosted Checkout Integration: https://banquemisr.gateway.mastercard.com/api/documentation/integrationGuidelines/hostedCheckout/integrationModelHostedCheckout.html MY ...
Omar Dealo's user avatar
2 votes
0 answers
252 views

Contactless payment using NFC in Android

I wanted to integrate contactless payment into one of my Android project using NFC. But I am not able to find any good resource for it. I have gathread basic information for NFC payment like It uses ...
Devarsh Ranpara's user avatar
0 votes
1 answer
277 views

EMV - PDOL GPO conditioning

I am trying to accomplish for card to retrieve PDOL country code of terminal. If country code of terminal is domestic response with certain GPO that uses following read records and AIP. If terminal is ...
CodingMerc's user avatar
0 votes
0 answers
69 views

Mastercard Nuget Xamarin implementation

I want to use a Mastercard Payment Gateway service in my app but I'm uncertain which Nuget to use or how to implement them. Currently I have the following nugets installed: MasterCard-Core Com....
HamdyAli's user avatar
  • 173
0 votes
1 answer
541 views

Payment gateway failure using checkout.js version 61

I have been trying to test online payments using the MasterCard Payment gateway with no success and I am in dire need of some experienced assistance. Below is my code where I successfully retrieve '...
Dino's user avatar
  • 1
0 votes
1 answer
206 views

MasterCard Hosted Checkout Integration SECURITY

as you know, the documentation indicates tha we need a javascipt like this: Checkout.configure({ session: { id: '<your_create_checkout_session_ID>' ...
Alejandro Hernández's user avatar
2 votes
0 answers
1k views

Mastercard Hosted Checkout Integration always "Payment Unsuccessful" at the end with no error info

I am implementing Mastercard's Hosted Checkout Integration. Detail see below. https://ap.gateway.mastercard.com/api/documentation/integrationGuidelines/hostedCheckout/integrationModelHostedCheckout....
Kai's user avatar
  • 31
1 vote
1 answer
1k views

Master Card 3D-Secure | AUTHENTICATION_PENDING | Status Rejected

I just followed the MPGS Direct Flow Using Session What I do. ! Create Session Update Session With Card Initiate Authentication Authenticate Payer | Response - AUTHENTICATION_PENDING and then when we ...
Waleed Muaz's user avatar
0 votes
2 answers
3k views

Master Card Payment Gateway Services (MPGS) Issue With Hosted Checkout Interaction Page (Checkout.js)

I am new to Master Card Payment Gateway Services (MPGS) integration and facing issue with the second step to interact with master card secure payment page. Step1: I have generated a session ID using ...
Usman Mehmood's user avatar
0 votes
1 answer
570 views

Payment Integration using Just Card Number Visa/MasterCard etc | No Stripe, No Paypal, No PayTm, No RazorPay etc

I am developing a web app that supports Online payment in Django. Stripe, Paypal, RazorPay, etc does not support my country. I would like to have those type of payment integration which Google and ...
ZeevhY Org.'s user avatar
0 votes
1 answer
537 views

How to integrate mastercard gateway to do payment using token?

I am trying to integrate mastercard payment gateway on my website. I have generated a token (by sending the card details). Now I want to deduct the amount from the card using this token. I have tried ...
Sajini Vazhavalappil's user avatar
0 votes
1 answer
1k views

MasterCard Sample Code Sample_REST-JSON_PHP error Invalid MerchantID

I am asking for help on an error I got when I try to integrate the MasterCard Payment Gateway Sample Code: Gateway sample code link: https://ap-gateway.mastercard.com/api/documentation/downloads/...
TechWiFi's user avatar
1 vote
1 answer
702 views

Apple pay EMV transaction

I am trying to perform Apple pay transaction. The card edded to apple pay wallet is MasterCard. If I perform a contactless transaction using a physical card, my code works. But when I try to do the ...
Олег Сидоров's user avatar
0 votes
1 answer
480 views

How to create a merchant account in MPGS gateway

I've installed this plugin "Woocommerce" and it supports many payment gateways. It asked me to provide the merchant id of this payment gateway "Mastercard Payment Gateway Services" ...
Alex's user avatar
  • 3
0 votes
1 answer
1k views

How to make tokenization using hosted checkout way in mastercard gateway payment (mpgs)

I want to make tokenization , check mpgs documentation from here The idea is that I want to have a token that I can use with all purchases First step i have successfully make purchase using hosted ...
Ali Abu Harb's user avatar
1 vote
1 answer
5k views

How to solve this error "cause":"INVALID_REQUEST","explanation":"Invalid request" in mastercard payment gateway (mpgs)

I am trying to integrate my site with mastercard gateway payment (mpgs) , i follow up the documentation , i select the Hosted Checkout method, see the documentation from here I request a checkout ...
Ali Abu Harb's user avatar
1 vote
1 answer
515 views

Mastercard Hosted Checkout Tokenised Cards

This is something we've asked Mastercard about, however, I haven't been able to get a clear answer from them. Perhaps someone has implemented this and can assist. In our initial emails with them, it ...
Tim King's user avatar
1 vote
2 answers
880 views

Different output of EMV session key using BP-Tool and UL testing tool

I am now running M-TIP test case using UL Test Tools. I tried to calculate cryptogram via BP-Tools-Cryptographic Calculator (EMV -> Application Cryptograms -> MasterCard). According to EMV Book ...
Kennedy Tan's user avatar
-1 votes
1 answer
1k views

Card returned AAC in second generate AC even online host approved transaction

I am now running the MasterCard M-TIP test cases and cannot pass one of the requirement which is 'The card responds to the Second Gen AC with a TC'. If someone could provide insight into what's ...
Kennedy Tan's user avatar
0 votes
1 answer
2k views

EMV Issuer Authenticate in second generate AC

I am just new in EMV payment industry and currently doing some EMV payment development, and hoping someone can shed some light on what I'm seeing. I'm running the Mastercard M-TIP tests that apply to ...
Kennedy Tan's user avatar
1 vote
2 answers
1k views

Refused to execute script and strict MIME type checking is enabled

I get refused to execute script because of MIME type ('text/html') is not executable, and strict MIME type checking is enabled. When i integration Mastercard using php curl and JavaScript although no ...
assem's user avatar
  • 7