Skip to content

Instantly share code, notes, and snippets.

View chanakaDe's full-sized avatar
Amor vincit omnia.

Chanu De Silva chanakaDe

Amor vincit omnia.
View GitHub Profile
{
"type": "error",
"code": 500,
"msg": "Your card's security code is incorrect.",
"body": {
"raw": {
"code": "incorrect_cvc",
"doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc",
"message": "Your card's security code is incorrect.",
"param": "cvc",
{
"type": "error",
"code": 500,
"msg": "Your card was declined.",
"body": {
"raw": {
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
{
"type": "error",
"code": 500,
"msg": "Your card's security code is incorrect.",
"body": {
"raw": {
"code": "incorrect_cvc",
"doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc",
"message": "Your card's security code is incorrect.",
"param": "cvc",
{
"type": "error",
"code": 500,
"msg": "An error occurred while processing your card. Try again in a little bit.",
"body": {
"raw": {
"code": "processing_error",
"doc_url": "https://stripe.com/docs/error-codes/processing-error",
"message": "An error occurred while processing your card. Try again in a little bit.",
"param": "",
{
"type": "error",
"code": 500,
"msg": "Your card has expired.",
"body": {
"raw": {
"code": "expired_card",
"doc_url": "https://stripe.com/docs/error-codes/expired-card",
"message": "Your card has expired.",
"param": "exp_month",
{
"first_name": "Anura",
"last_name": "de silva",
"username": "anura1993",
"email": "chanaka@technohive.tech",
"password": "123",
"street_address": "No 5B, Polwatta Road",
"city": "Horana",
"state": "WES",
"zip_code": "12400",
package stubs;
import java.io.IOException;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.apache.hadoop.io.IntWritable;
package stubs;
import java.io.IOException;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.apache.hadoop.io.IntWritable;
package stubs;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
@chanakaDe
chanakaDe / response.json
Created May 5, 2020 15:05
When transaction is success, you will get "status": "paid" AND "status_transitions.paid" : 1588688731.
{
"type": "success",
"code": 200,
"data": {
"id": "or_1GfRiABkM3dAaKZOJIr63AuR",
"object": "order",
"amount": 2799,
"amount_returned": null,
"application": null,
"application_fee": null,