Skip to content

Instantly share code, notes, and snippets.

Avatar
🌏
Amor vincit omnia.

Chanaka De Silva chanakaDe

🌏
Amor vincit omnia.
View GitHub Profile
View incorrect_cvc_check.json
{
"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",
View card_declined.json
{
"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.",
View incorrect_cvc.json
{
"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",
View processing_error.json
{
"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": "",
View expired_card_error.json
{
"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",
View user_object.json
{
"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",
View CitationHistogram.java
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;
View MyJobCount.java
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;
View MyJob.java
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
When transaction is success, you will get "status": "paid" AND "status_transitions.paid" : 1588688731.
View response.json
{
"type": "success",
"code": 200,
"data": {
"id": "or_1GfRiABkM3dAaKZOJIr63AuR",
"object": "order",
"amount": 2799,
"amount_returned": null,
"application": null,
"application_fee": null,