Tahir Pasha
Tahir Pasha

Reputation: 361

PayFort paymentAPI "Missing Parameter" for Apple Pay payment

I am integrating PayFort Apple Pay in my app using PayFort Apple Pay Guide Documentation received by PayFort.

I am send all the mandatory parameters as mentioned in the documentation with same type of values.

But I'm always getting the PayFort response as "Missing Parameter".

I couldn't get the specific parameter which is missing or any error or what am I doing wrong.

These are the params that i am sending in post:

enter image description here

and those two params are in list: "apple_header" and "apple_paymentMethod"

enter image description here

Upvotes: 0

Views: 2013

Answers (2)

Tahir Pasha
Tahir Pasha

Reputation: 361

I've resolve this issue by changing payfort callback method for ApplePay.. there is a different callback method for ApplePay which is not mentioned in their documentation.

which is

- (void)callPayFortForApplePayWithRequest:(NSMutableDictionary *)RequestFort
           applePayPayment:(PKPayment *)payment
     currentViewController:(UIViewController *)controller
                   Success:(PAYFORTTransactionSuccess)success
                     Faild:(PAYFORTTransactionFaild)faild;

Upvotes: 1

Abu Ul Hassan
Abu Ul Hassan

Reputation: 1396

Please Check following are mandatory parameters to do a post request with PayFort i think "sdk_token" is missing in your case. enter image description here

Upvotes: 0

Related Questions