I am implementing payment functionality in my application. For that, I am launching my website's payment page with new intent (startActivityForResult) on a click of a button from my application. Once the payment is succeed, I want that webview to be closed automatically and should get succeed of failed result back in calling activity. Is it possible and if yes, how can I achieve this?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- Get payment by transaction ID using PayPal API
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
I am not completely aware of your use case. If are are just trying to accept credit cards or accept paypal as a form of payment, check out https://github.com/paypal/PayPal-Android-SDK and check out the https://github.com/paypal/PayPal-Android-SDK/tree/master/SampleApp. The sdk takes care of redirection to PayPal for you so that you do not need to implement that yourself via an webview.