paypal

Customer pays with Paypal and immediately leaves the website causes him not to get the item

送分小仙女□ 提交于 2020-06-16 19:05:37
问题 I am using paypal with react-paypal-button-v2 to get payments on my website. I was testing a few things on my Sandbox account and realized that if the customer pays, there is a window of about 3 seconds until the success function fires onSuccess={() => { this.props.handlePaymentComplete(); }} The problem is, if the customer pays and quits my website in that 3 seconds window, he will be charged the money but the function will not fire and therefore his information will not be saved to the DB.

PayPal Integration with Android

不羁的心 提交于 2020-06-09 22:01:59
问题 I have seen some related questions but none focusing on the specific problem I have: I'm using the PayPal MPL Library. I build my PayPalPayment object, then create the activity for the checkout to occur. That runs fine. My problem is, on the ResultDelegate I need to call a function from my activity, that occurs after the payment and makes some changes (such as storing SharedPreferences, etc.). So something like this: public class ResultDelegate implements PayPalResultDelegate, Serializable {

PayPal Integration with Android

送分小仙女□ 提交于 2020-06-09 21:59:54
问题 I have seen some related questions but none focusing on the specific problem I have: I'm using the PayPal MPL Library. I build my PayPalPayment object, then create the activity for the checkout to occur. That runs fine. My problem is, on the ResultDelegate I need to call a function from my activity, that occurs after the payment and makes some changes (such as storing SharedPreferences, etc.). So something like this: public class ResultDelegate implements PayPalResultDelegate, Serializable {

PayPal Integration with Android

我只是一个虾纸丫 提交于 2020-06-09 21:58:42
问题 I have seen some related questions but none focusing on the specific problem I have: I'm using the PayPal MPL Library. I build my PayPalPayment object, then create the activity for the checkout to occur. That runs fine. My problem is, on the ResultDelegate I need to call a function from my activity, that occurs after the payment and makes some changes (such as storing SharedPreferences, etc.). So something like this: public class ResultDelegate implements PayPalResultDelegate, Serializable {

How to implement Paypal Profile sharing with Braintree?

╄→尐↘猪︶ㄣ 提交于 2020-06-01 06:21:25
问题 Using Paypal-Mobile-iOS-SDK > PayPalProfileSharingViewController. we was share paypal account profile for purpose of paypal murchant accounts manage from server side. but now Paypal-Mobilei-OS-SDK deprecated. we can intergrate paypal using Braintree. but i am not getting good way to perform paypal profile sharing with Braintree sdk. thanks in advance. 来源: https://stackoverflow.com/questions/55630639/how-to-implement-paypal-profile-sharing-with-braintree

wait for loading paypal script in nextjs page

帅比萌擦擦* 提交于 2020-05-24 06:29:40
问题 I have this code that is supposed to render the paypal buttons. <Head> <script src="https://www.paypal.com/sdk/js?client-id=KEY"></script> </Head> I load the paypal buttons in the componentDidMount method componentDidMount() { paypal .Buttons({ createOrder: (data, actions)=> { return actions.order.create({ purchase_units: [{ amount: { currency_code: "USD", value: amount, }, }], }); }, onCancel: function(data){ //console.log(data) }, onError: function(err){ console.log(err) } }) .render("

wait for loading paypal script in nextjs page

删除回忆录丶 提交于 2020-05-24 06:28:29
问题 I have this code that is supposed to render the paypal buttons. <Head> <script src="https://www.paypal.com/sdk/js?client-id=KEY"></script> </Head> I load the paypal buttons in the componentDidMount method componentDidMount() { paypal .Buttons({ createOrder: (data, actions)=> { return actions.order.create({ purchase_units: [{ amount: { currency_code: "USD", value: amount, }, }], }); }, onCancel: function(data){ //console.log(data) }, onError: function(err){ console.log(err) } }) .render("

PayPal PayFlow Pro - Credit Card Validation : BILLTOZIP / AVSZIP

て烟熏妆下的殇ゞ 提交于 2020-05-17 05:55:11
问题 I am using Paypal / Payflow Pro's Authorization Transaction (TRXTYPE=A) to validate credit card information. I am passing 0.00 as the AMT. This works fine and can filter out wrong account number, expiration date as well as wrong CVV2 code by checking CVV2MATCH = X in the return string. However, there is a problem with BILLTOZIP validation. Return value is always AVSZIP = Y even if I entered the wrong ZIP. What's weird is... The CC used for this transaction is from US. I used a CC from

How can I make sure the subscription is paid before allowing the user to use my app? [closed]

只谈情不闲聊 提交于 2020-05-17 04:12:52
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 days ago . I am working on an intelligent cloud platform able to analyse data of the users. I am going to use Stripe payments and subscription plan. Everything seems to be working properly, but I have some uncertainty. I wonder how can I check whether the subscription has been paid before

How to activate a PayPal subscription?

情到浓时终转凉″ 提交于 2020-05-16 22:07:01
问题 I've implemented a recurring payments system using PayPal and the SmartButtons . The customer is able to create the subscription through my system, at the end of the checkout I get the subscription created: { "orderID": "3JR7411152833961C", "subscriptionID": "I-J8CHJ9UKB8JU", "facilitatorAccessToken": "A21AAElq71jrRrKHzaxxOeA4o7cOie83F_N-LKMZoAe2mhmaANy-a784yj9DUbSlQPIxtu_O-7XyzHWab23gKVgwhqK9Hjaow" } in order to activate the subscription and get the payment I need to execute it, so I wrote