Integrating PayU payments gateway - payumoney

I am trying to integrate PayU payment gateway on my website, referring their documentation.
They are recommending to use merchant key as a hidden input field but should i really put my merchant key on the frontend as a educated user can easily find it out. I tried making the payment request from my backend and sending the HTML recieved to the user but the script file is not loading is stuck on the loading page. What can i do to load the script file so that it redirects to the payment page.

Related

Integrating A 3rd-Party Custom Payment Gateway with Shopify

I'm looking to integrate my app as a 3rd party payment provider for Shopify merchants to add to their websites. This will allow customers to select my app as a payment option, and upon purchase will be re-directed to a web-page hosted on my app, where they can complete their purchase. After completing their purchase they would then be re-directed back to the merchant's Shopify website.
I've read a lot of the docs online about how to do this but I still have some uncertainty around some things:
I've already seen that this was done by using a Hosted Payments SDK,
but has since been deprecated. The docs mention to create an app in
the Partner Dashboard or Shopify CLI, as well as create a payment
extension. From my understanding the only thing I would need would
be the payment extension? I would just like to be able to send the
payment request from the merchant's Shopify website to my app
(likely through a webhook) which can then process it and return a
link to redirect the customer to the necessary page to make the
payment.
I'm struggling to find any online documentation or examples
on how you would create this payment extension.
I also can't find
any examples on how I would set up a 3rd party payment gateway by
creating a Shopify Payment app.
I'm hoping someone can assist me with this. Thanks!

How to log in to PayPal Sandbox account as buyer (using REST - Postman)

My purpose is to automate (as buyer) login into PayPal Sandbox(1) and confirm payment(2) using REST requests (with Postman) after being redirected from third-party payment service.
From there a got a link like: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-5AU897953H105581R
I have login and password for buyer account.
I was able to import request from devtools network and it leads me to confirm form, but I cannot make it generic. I found out that the minimum body values are (on screen), but there are some changes in cookies at headers. I am not sure if my approach is even correct. Do you have any ideas?
If you find out the first very easily, maybe you will also have some tips for confirming payment.
I already searched a lot for answers. There are some instructions for sandbox API, but it looks like it needs clientId and secret(?). See those on the PayPal Sandbox development page, but I do not have credentials for dev dashboard, only for my test customer.

Payment gateway integration using redirection method

I have implemented a payment gateway in react-native which does not have any SDK/library for iOS/Android, it does have the payment API with the option to pay using web redirection method. I have another restriction, whereas the payment vendor does not provide any confirmation API. Upon payment, the only option I got is to redirect user to a successful page or using payment success web hook.
Currently It is implement following way
1. User request for a payment
2. Send request to our web server (not payment server).
3. Our web server generates the payment redirection url and pass it to mobile app
4. Mobile app opens a web view and show user the payment page.
5. Upon payment, we configure the URL to redirect user to a success URL. (protect it using a randomly generated token which is verified
upon payment)
6. Mobile app detects that users got redirected to payment success page and confirm that payment is done.
The issue is, sometimes there is a network interruption resulting in payment not getting confirmed by our web server after the payment is done. In such cases I think web hooks will be appropriate solution. However, I am not sure if this is the best way to deal with this.
Anyone who have implemented a payment gateway using the redirection method. Is there a better way or a different way to deal with this?
Thank you.

Receiving 404 while using register3 API.

I am using live account for Yodlee.
How do I proceed to create user using credential I received from Yodlee team and REST api url?
I have used this url.
{MY LIVE REST API URL}/v1.0/jsonsdk/UserRegistration/register3.
But it showing 404 page not found.
I want tutorial to be used to proceed live Yodlee account.
I have tried test drive and felt comfortable with the flow.
If you are using https://rest.developer.yodlee.com/services/srest/restserver/v1.0/ URL then you won't be able to use this API. As this is developer's environment and Yodlee do provides 5 pre-registered users which you can get under Developer Info page(Available once you'll login to www.developer.yodlee.com and click on MyProfile link).
Else if this is not a case and if you have access to Yodlee Customer Care tool then we request to raise a Service Request with the problem description which you are facing.

do I have to register as a shopify partner?

(I am reposting this question here because I tried on the google news group and got no responses.)
I need to build a shop for my client, and the client already has a domain and a web site. I need to integrate e-commerce functionality in to the site. This is going to be done by sending AJAX requests to the API.
my question is whether I need to get a partner account for this? I am not yet going to write an app that people would install, I am just building a store for my client. how is it done?
You do not need a Shopify Partner account for this. You can instead create a "Private application" within the normal shopify admin, which will give you the api credentials you need to make stuff happen.
This article on the shopify wiki gives a good overview of the process for getting started (the first sections are most relevant in your case):
http://wiki.shopify.com/Using_the_shopify_api_gem_with_the_credentials_of_a_private_app