Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting oops page #9

Open
Viswa-Vinod opened this issue Apr 8, 2018 · 3 comments
Open

getting oops page #9

Viswa-Vinod opened this issue Apr 8, 2018 · 3 comments

Comments

@Viswa-Vinod
Copy link

hi

I could use some help on these issues.

(i) Firstly, can I check with you guys whether the npm package is up to date? The published date is about a year back whereas changes in the github page are a month back. I am following the guidance in the github page. I assume they will be applicable to the published npm package. Please confirm

(ii) I have used the package as follows::

a) I have the following method in my component
runTransaction = (amount, custId, orderId, phone, email, checkSum) => {
const callbackUrl = ${paytmConfig.CALLBACK_URL};
const details = {
mode: "Staging", // 'Staging' or 'Production'
mid: paytmConfig.MID,
industryType: paytmConfig.INDUSTRY_TYPE_ID,
website: paytmConfig.WEBSITE,
channel: paytmConfig.CHANNEL_ID,
amount, // String
orderId, // String
email, // String
phone, // String
custId, // String
checksumhash: checkSum, //From your server using PayTM Checksum Utility
callback: callbackUrl
};
paytm.startPayment(details);
};

I also have the following in my component, as shown in the guide

componentWillMount() {
DeviceEventEmitter.addListener("PayTMResponse", this.onPayTmResponse);
}

onPayTmResponse = response => {
console.log(response);
};

b) I am generating the checksum from the backend using the paytm checksum kit and I can confirm that the checksum properly returns a value

c) I have double checked and triple checked the parameter values for my app's paytm configuration. They are correct.

d) My concern is the mismatch between the names of the keys used in the guide (for example amount) and the names given in the paytm page (TXN_AMOUNT). Is my concern legit?

e) am I missing anything in the creation of the details object?

The problem is that I am getting an oops page from paytm. Please advise.

@harikanammi
Copy link

hi @Viswa-Vinod can u resolved this issue????

@91ranjan
Copy link

@harikanammi Any solution to this?

@aditya-dhand
Copy link

hii facing same issue @Viswa-Vinod have you got some solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants