You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
I am trying to open STPAddCardViewController (I need customer to enter card number and billing info) so that token is calculated.
I updated the sample with my PublishableKey.
code for my class:
`namespace StripeQs
{
public partial class CardViewController : UIViewController, ISTPAddCardViewControllerDelegate
{
public override void ViewDidLoad()
{
base.ViewDidLoad();
var config = STPPaymentConfiguration.SharedConfiguration();
}
public override void DidReceiveMemoryWarning()
{
base.DidReceiveMemoryWarning();
// Release any cached data, images, etc that aren't in use.
}
[Export("addCardViewControllerDidCancel:")]
public void DidCancel(STPAddCardViewController addCardViewController)
{
string a = "aaa";
}
[Export("addCardViewController:didCreateToken:completion:")]
public void DidCreateToken(STPAddCardViewController addCardViewController, STPToken token, STPErrorBlock completion)
{
string a = "aaa";
}
[Export("addCardViewController:didCreateSource:completion:")]
public void DidCreateSource(STPAddCardViewController addCardViewController, STPSource token, STPErrorBlock completion)
{
string a = "aaa";
}
}
}
`
But when running the app in simulator and entering the card number and billing info following error is produced:
Failed to compute the token reference for the type 'StripeSdk.ISTPSourceProtocol, Naxam.Stripe.iOS, Version=13.0.2.0, Culture=neutral, PublicKeyToken=null' because the assembly couldn't be found in the list of registered assemblies.
please advise what am I doing wrong
The text was updated successfully, but these errors were encountered:
I am trying to open STPAddCardViewController (I need customer to enter card number and billing info) so that token is calculated.
I updated the sample with my PublishableKey.
code for my class:
`namespace StripeQs
{
}
`
But when running the app in simulator and entering the card number and billing info following error is produced:
Failed to compute the token reference for the type 'StripeSdk.ISTPSourceProtocol, Naxam.Stripe.iOS, Version=13.0.2.0, Culture=neutral, PublicKeyToken=null' because the assembly couldn't be found in the list of registered assemblies.
please advise what am I doing wrong
The text was updated successfully, but these errors were encountered: