Skip to main content

Posts

Showing posts with the label Paypal.

Paystack payment method/function in objective-c

  PSTCKCardParams *cardParams = [ _paymentTextField cardParams ];          //     //When we create custom textfields     //     PSTCKCardParams *cardParams = [[PSTCKCardParams alloc] init];     //     // then set parameters thus from card     //     cardParams.number= self.TFout.text;          PSTCKTransactionParams *transactionParams = [[ PSTCKTransactionParams alloc ] init ];     transactionParams. amount =[[ _planAry valueForKey : @"plan_price" ] intValue ];     transactionParams. email =[[ NSUserDefaults standardUserDefaults ] valueForKey : @"userEmailID" ];          //transactionParams.subaccount     UIViewController *vc = self . view . window . rootViewController ;     //[self presentViewController: activityController animated: YES completion:nil];  ...