jjzjj

stripCard

全部标签

ios - 将 token 发送到后端 strip objective-c

我似乎找不到将我的token发送到我的firebase后端的代码。-(void)addCardViewController:(STPAddCardViewController*)addCardViewControllerdidCreateToken:(STPToken*)tokencompletion:(STPErrorBlock)completion{[selfsubmitTokenToBackend:tokencompletion:^(NSError*error){if(error){completion(error);}else{[selfdismissViewControlle

swift - "Cannot assign value of type ' 整数 ' to type ' 单位 ' "

letexpdate=NSUserDefaults.standardUserDefaults().objectForKey("expiration")as!NSDateletcalendar=NSCalendar.currentCalendar()letcomponents=calendar.components([.Day,.Month,.Year],fromDate:expdate)vartheyear=components.yearvarthemonth=components.monthstripCard.expMonth=themonthstripCard.expYear=th