payment-processing

result.credit_card_verification is returning nil even on error in braintree

陌路散爱 提交于 2019-12-21 02:49:24
问题 I'm using braintree for payment processing and I'm trying to get Processor Response Codes from Braintree with Ruby. Here is my code : verification = result.credit_card_verification response_code = verification.try(:processor_response_code) I'm getting verification as nil even when there is error. Is there something else to get Processor Response Codes? I got this code from here Here is my result.erros : :errors: !ruby/object:Braintree::Errors errors: !ruby/object:Braintree:

PayPal subscriptions PDT / IPN - PLEASE

夙愿已清 提交于 2019-12-19 07:58:14
问题 Am having a lot of trouble getting my head around this paypal payment stuff... How can i confirm that the user has successfully signed up for my subscription? I know 0 about IPN but for example : If a user signs up to my website with example@e.com but uses the paypal account sample@s.com to pay then how to i match up the user. I read that PDT do not send out a transaction ID (tx) for recurring (subscription) payments is that true ? Just need help with it all... honest and easy :) Thanks. 回答1:

When to use IPN and when WebHooks in PayPal as a notification mechanism?

本秂侑毒 提交于 2019-12-13 16:32:14
问题 I'm looking at the documentation of WebHooks and IPN and I wonder: which one should I use my store where I don't need really real-time notifications? Even 1 hour delay will do. How do WebHooks and IPN differ for this matter? 回答1: This is the entry point for PayPal's notification docs describing Webhooks, IPN and PDT: https://developer.paypal.com/docs/notifications/ I can't offer definitive differences but some sources say that Webhooks are faster on the first message than IPN. Webhooks are

Stripe throws invalid integer error

时间秒杀一切 提交于 2019-12-13 15:01:42
问题 I am unable to charge the amount $49.99 in stripe. I am going through the following links but nothing workout Stripe Checkout Price error - Invalid Integer Stripe Rails: Invalid integer: 1.06 I would like to charge the amount as it is. I don't want to round off the payment stripe.charges.create({ // Charge the customer in stripe // amount: req.query.amount, amount: 49.99, currency: 'usd', customer: req.customer }).then(function(charge) { // Use and save the charge info in our db var

UIWebView Payment Processing

梦想的初衷 提交于 2019-12-13 08:45:50
问题 I am implementing a purchasing system for physical items in an app, because it's not digital goods it won't be classed as in-app-purchase. The payment service I need to use don't have a public API. So I was wondering if I can hit their url in a UIWebView and make the payment through there. Will it get accepted in the AppStore? Or will I have to leave my app and go to Safari to finish the transaction? thanks 回答1: Your approach is fine, no need to switch out to safari. Just make sure the url

$_POST from paypal response after payment is empty

折月煮酒 提交于 2019-12-13 07:43:28
问题 I created a hosted button using a business account and integrated that code with my php application. I use 'Website Payments Standard' and generated the 'Buy Now Button' using the tool provided in 'Merchant Services' page. I am using http://sandbox.paypal.com/ to test this. Configurations in Merchant Profile: Instant Payment Notification (IPN) is 'Enabled' and 'Notification URL' given. Auto Return is On. Return URL specified (the same given above in notification URL) Payment Data Transfer is

iOS credit card processing [closed]

和自甴很熟 提交于 2019-12-11 03:11:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I am looking to develop an app that accepts credit card information for non-digital products. In other words, In-App purchase does not apply in this case. What I'm looking to do is VERY much like the Chipotle app with which you can purchase food. What is the best way to facilitate this type of transaction? 回答1:

Paypal One-Click Purchase

不羁的心 提交于 2019-12-10 19:04:29
问题 Is it possible to implement One-Click Purchase using Paypal API? or Paypal Adaptive API? Instead of asking the user to login each and every time. Thanks in advance. Johnny 回答1: To have a "one click checkout" experience with Paypal, solution is the "Preapproved Payments Flow" from the Adaptive payment. The following diagram shows the basic flow of control during a preapproval operation. After the sender sets up the approval, you can make payments on the sender’s behalf directly. The sender is

org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array

独自空忆成欢 提交于 2019-12-10 15:37:46
问题 I'm developing AuthSample example using chase-paymentech Java SDK named as 'PaymentechSDK.jar' version 7.4.0 . When I tried to execute the sample code I faced the following error. I dont understand whats the issue. Could anyone can guide me ? FYI - https://docs.oracle.com/cd/E69185_01/cwdirect/pdf/180/cwdirect_user_reference/SO04_16.htm org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array

Server-side Payment Token decryption for Apple Pay

我怕爱的太早我们不能终老 提交于 2019-12-09 22:42:21
问题 There are third party libraries that provide support for decrypting Apple Pay token on the server side. Is there any such .NET library? Third-paty Libraries Ruby library for decrypting Apple Pay payment tokens PHP library for decrypting Apple Pay payment tokens What we're trying to accomplish We're using Compass XML platform for payment processing, and the goad is to decrypt the payment token on our server and then use the Compass XML for final payment processing. 回答1: I just pushed my works