Can I use a real card instead of a test card to test a payment in "Test" mode in Stripe? - stripe-payments

I can test payments with the test cards below in test mode in Stripe:
Now, can I test payments with my own real cards in test mode in Stripe?

No, you can't use real cards in test mode. You'll get a decline error if you enter a real card to complete a test mode payment.

Related

Stripe test mode payments not resulting in balance

I have set up checkout with Stripe, and successfully made purchases in test mode. The purchases show up, but my balance stays at 0.
I'd like to test paying out my balance to Connect accounts. Is balance not calculated in test mode, or does it take more than a few days to update? Thanks!
When making a payment, the funds first go to the pending balance and then at a later date they move to the available balance.
If you need to get funds directly in your available balance in test mode, use one of the test cards listed in this documentation page.

Payhip - Stripe payment testing

I'm new to both Payhip & Stripe. I'm testing out both products by setting up a test product in Payhip & making a purchase using a dummy visa card number (4242424242424242) from here
Payhip is connected to Stripe.
I keep getting the message - Your card was declined. Your request was in live mode, but used a known test card.
I've searched on google & read thorugh stripe documentation. I'm not able to find anything useful to solve this problem.
To use a test card in your integration, you need to use the test mode secret key instead. You can get it from the Stripe Dashboard -> Developer -> API Keys page.
The problem is not linked to Stripe i any form. There no way out to use a test card with Payhip. I contacted Payhip support & was advised as follows
One can either use a 100% off coupon (see here: Testing Checkout Flow) or put through a live transaction and refund yourself afterwards (How Do I Refund a Transaction?)

Stripe.net - Payments, backend

So far, I'm striking out with google. Trying to toy around with Stripe. Now, cybersource, payflo, authorize.net all talk direct to the backend when it comes to entering credit card data. I've been trying to figure out how do the same with Stripe. I can't find out how to do it without stripe.js.
ie: Enter credit card through generic form, once posted to server, the server calls stripe (using new paymentintent because of SCA). In short, I need to know how to create the credit card object on the backend so I can send it to the payment intent without stripe.js.
I do NOT have code snippets of my own since I'm just now learning the API. Don't know if this is even possible/allowed/etc.
Edit: Everything follows this general premise: https://careydevelopment.us/blog/how-to-implement-a-credit-card-payment-solution-with-spring-boot-and-the-stripe-api

how to send mask card number instead of complete card number to Sabre AirTicketLLSRQ api?

We are handling payment at our side so we dont want sabre to do this for us. And so we just need to inform sabre about payment is done and it should reflect in to final ticket. But as per there api they want whole card number so is there any provision or any other method by which we can pass mask card number?
There are several things to comment:
The most important thing to highlight here is that if you put the credit card on the AirTicket call, it will be charged.
There is no way to send a masked credit card, you either send one to be charged or not send it.
If you don't want to send the credit card, which seems to be a sensible thing to do since you are handling the payment, then in the AirTicket call you should use CASH for payment.

Stripe for one time payment. - Ruby on Rails

Can I use Stripe for receiving a one-time payment instead of recurring payments?
If so what settings do I have to make?
Yes, just use the Stripe::Charge.create method. As the payment method, you can either pass in a card directly or reference a Customer whose card should be charged.
You can receive one-time payments via the Stripe dashboard. Go to:
https://dashboard.stripe.com/payments
and click the button for a "+New" payment. That will let you manually enter the cc info. I do this with my Pairing as a Service clients all the time... they just read me their card info, and I enter it with the amount I'm charging them and a description. Your account password is then required to complete the charge.
It's fast and easy... I just wish there was a way to let them enter the info directly. Maybe I'll make something like that...
Yes, You can just create a Stripe account and use a simple example of Stripe payment for Ruby on Rails I've made recently. Check the code: https://github.com/ab00zar/StripePayment-example
Run the server using your test keys like:
PUBLISHABLE_KEY=pk_test_g0XSu8r2ugAETksVJQXJjU30
SECRET_KEY=sk_test_A3rwGLOMNxEKDkaJOTgi4frd rails s

Resources