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 Nov 28, 2023. It is now read-only.
When I change TestNumber to a valid number, and run it, the payment goes through but "no error" is not printed to the console. I'm using the AppSwitch mode. I want to be able to make my app execute some code if the payment is successful, but I have no way of knowing whether it is if the completion handler is not working. How can I resolve this issue?
The text was updated successfully, but these errors were encountered:
Are you completing the app switch? Or is this meant to be triggered by the API? Are there any warnings logged in the console that might be preventing the app switch?
The AppSwitch is working, but once nothing is being printed to the console. I need to be able to know if the payment was successful so that I can execute some more code in my app.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have the following code in my app.
Venmo.sharedInstance().sendPaymentTo("TestNumber", amount: 1, note: "Testing", completionHandler: {(transaction: VENTransaction!, success: Bool, error: NSError!) -> Void in
if error != nil {
print(error)
} else {
print("no error")
}
})
When I change TestNumber to a valid number, and run it, the payment goes through but "no error" is not printed to the console. I'm using the AppSwitch mode. I want to be able to make my app execute some code if the payment is successful, but I have no way of knowing whether it is if the completion handler is not working. How can I resolve this issue?
The text was updated successfully, but these errors were encountered: