payfort

payfort Invalid extra parameters

旧街凉风 提交于 2021-02-08 08:26:22
问题 I am using the payfort Merchant page. When I am making a token the request succeeds but when I tried to make a purchase I got " Invalid extra parameters" code 00027 This the request of TOKENIZATION Request Log card_security_code *** card_number 523761******2016 service_command TOKENIZATION signature $signature merchant_identifier ZDFytEce merchant_reference $merchant_ref access_code $access_code expiry_date *** return_url TOKEN_RETUEN_URL language en Response Log response_code 18000 card

payfort Invalid extra parameters

给你一囗甜甜゛ 提交于 2021-02-08 08:25:02
问题 I am using the payfort Merchant page. When I am making a token the request succeeds but when I tried to make a purchase I got " Invalid extra parameters" code 00027 This the request of TOKENIZATION Request Log card_security_code *** card_number 523761******2016 service_command TOKENIZATION signature $signature merchant_identifier ZDFytEce merchant_reference $merchant_ref access_code $access_code expiry_date *** return_url TOKEN_RETUEN_URL language en Response Log response_code 18000 card

Signature mismatch error on payfort sdk_token generation

☆樱花仙子☆ 提交于 2020-01-16 01:29:07
问题 String ACCESS_CODE = "My_PAYFORTAcces_Code" String MERCHANT_ID = "My_Payfory_Merchet_ID" I found the issue I think the issue is with Signature generation, I tried signature generation using with the string “ TESTSHAINaccess_code=ACCESS_CODEdevice_id=ffffffff-d6ab-d802-b274-478d7792a1b7language=enmerchant_identifier=MERCHANT_IDservice_command=SDK_TOKENTESTSHAIN ” I got my signature as “ 9c804f2c08e36749c75389afc12c50e68307c31052e6434c072cd5b36cc8c607 ” and when I tried with “ PASSaccess_code

Payfort in Ruby On Rails Application

…衆ロ難τιáo~ 提交于 2019-12-25 17:27:09
问题 I wish to implement the payfort gateway with my rails application.But I am very much novice to api. I am having a look at the this docs. But i am not clear with where to start? Is there any gem for it? Any help will be appreciated. Thanks in advance :) 回答1: There's no Gems for sorry , but api is rest so you can implement what you want easily. But the best thing is to start with creating your own Gateway with Active Merchant. 回答2: 1-Sort all PayFort requests parameters in an ascending

Integrating Payfort Payment with Ruby On Rails App

随声附和 提交于 2019-12-13 07:37:15
问题 I am trying to implement the Payfort payment gateway with rails app. But i am getting following response message: "response_message":"Signature mismatch" Following is my try: params = {command: "AUTHORIZATION", currency: "USD", access_code: "z7TfXF2xxxxxxxxxxxx", merchant_identifier: "xoNbjDoq", merchant_reference: "405", language: "en", amount: 250, token_name: "token_is_here", expiry_date: "07/2023", card_number: "5200421234563432", card_security_code: "417", card_holder_name: "Abc Xyz",

Getting Problems to integrate payfort api in php

不羁的心 提交于 2019-12-12 11:53:06
问题 I am following (https://docs.start.payfort.com/references/api/) documentation to implement Payfort payment Api but I am facing issues.Can anyone help me to resolve these? I am using below code in Api: <?php require_once('lib/Start.php'); // Enter secret key here Start::setApiKey('test_sec_k_9d19ef5bd543507e333ba7b'); //Create a new token for customer $token = Start_Token::create(array( "number" => "4242424242424242", "exp_month" => 06, "exp_year" => 2018, "cvc" => "123", "name" => "Abdullah

Payfort REST POST request using JSON

半城伤御伤魂 提交于 2019-12-06 17:32:02
问题 Working on the payfort payment api https://testfort.payfort.com/api/?#merchant-page I have got a problem with REST POST request using JSON after tokinization is performed. my code is $requestParams=json_encode($requestParams); $service_url = 'https://sbpaymentservices.payfort.com/FortAPI/paymentApi'; $curl = curl_init($service_url); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($curl, CURLOPT_POSTFIELDS, $requestParams); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl

Payfort REST POST request using JSON

拥有回忆 提交于 2019-12-04 20:40:42
Working on the payfort payment api https://testfort.payfort.com/api/?#merchant-page I have got a problem with REST POST request using JSON after tokinization is performed. my code is $requestParams=json_encode($requestParams); $service_url = 'https://sbpaymentservices.payfort.com/FortAPI/paymentApi'; $curl = curl_init($service_url); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($curl, CURLOPT_POSTFIELDS, $requestParams); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/json','Content-Length: ' . strlen(

How to do payment using PayFort payment gateway?

北慕城南 提交于 2019-12-04 05:53:04
问题 I am trying to add a payment using the PayFort payment gateway, but it fails with this error message: Charge was not processed Request params are invalid. Please see my code and give any instructions or suggestions for it: $api_keys = array( "secret_key" => "test_sec_k_965cd1f7f333f998c907b", "open_key" => "test_open_k_d6830e5f0f276ebb9046" ); /* convert 10.00 AED to cents */ $amount_in_cents = 10.00 * 100; $currency = "AED"; $customer_email = "myMailId@gmail.com"; Start::setApiKey($api_keys[