Sagepay Pay Now Button - Visual Studio Application - visual-studio

I already use Sage Line50 (accounts application) which has a very convenient Pay Now button.
As I understand it, you highlight a customer record in Sage Line50 and click Pay Now. A simple form appears into which you put the amount that you are requesting the customer to pay. The form has a Copy Link button which you then click.
You then paste this link into an email, send to the customer, customer clicks it and arrives on the Sagepay website where they are taken through the payment process.
Sagepay describes the process as: This link contains all the transaction information in a format that the Sage Pay gateway can understand. When the customer clicks ‘Pay Now’ the encrypted contents of that field are POSTed to the Sage Pay gateway and the customer redirected to the hosted Sage Pay payment page.
So Sage Line50 Pay Now functionality is what I want (my developer) to replicate in the Visual Studio application he is working on for me.
My question is either how she he go about this OR can I pay anyone out there to do it for me?

You need to look at Form protocol (easily googleable) - this will create a standalone link which redirects your customer to Sage Pay.

Related

Validating PayPal Pay Now and other cut and paste payment buttons as legitimate code

We have a site where we allow members to sell items they have made.
The items are displayed in a container including a name, description, images and price. The container also contains space for a Purchase button.
The content of each container is controlled by the member in an editor. Part of the editor is a text area where they can cut and paste a PayPal Pay-Now (or similar from other service) button code.
We already have all of this working; when the container is displayed the Pay Now button is shown and is functional.
My question is: How best to validate the code the member pastes into the editor as legitimate pay button code and not something malicious before it’s saved to DB.
I’ve set up a dropdown where the member selects the source of the code (PayPal, Stripe, etc) which would allow validation based on the selected source.
What I need is a resource for the validation code itself. Has someone done anything like this, some regex out there or maybe a service?
This is a net 5.0 site using razor pages.
Sites builders either allow an arbitrary HTML/JS widget, or provide their own payment service integrations that implement payment buttons.
You will not find anyone validating button code, it's not done.
For PayPal Checkout, see the documentation on the payee object for sending funds to another account: https://developer.paypal.com/docs/checkout/integration-features/pay-another-account/
This payee object can be used in a client-side integration with no server, if you don't want to implement a backend; see https://developer.paypal.com/demo/checkout/#/pattern/client for an example

Allowing customers using our site to pay direct to our Clients Sage Pay account

We currently allow our clients to receive payments made via our online booking site, directly into their own Paypal account and then return back to our online booking site to complete and confirm the booking once payment has been successfully completed.
I would like to offer the same service for SagePay (and others e.g. Worldpay). Can someone please point me in the right direction as I am struggling to connect with SagePay direct at the moment?
Thanks
Nigel

sage pay paypal example

we currently use magento shopping cart and sagepay via ebizmarts plugin and paypal standard payments but we are thinking about using paypal through sage pay.
Does paypal still have its own button in magento or can the customer only select paypal once they are in sage pay.
We seem to get a lot of connection problems from magento to paypal with failed transactions and orders not being updated with the correct payment status.
Our thinking is that if we let sage handle the communications this will reduce the number of failed/error transactions.
But we do want it to remain obvious to the customer that we accept paypal
Thanks
PayPal via SagePay can be integrated via FORM or SERVER integration with full redirection or, customer can choose PayPal on checkout or customer can click on the quick checkout button in the cart page.
Keep in mind that PayPal via Sage Pay is only available on Sage Pay Suite PRO, not Sage Pay Suite Community Edition.
If you have further questions, please don't hesitate on contacting us here.
Kind Regards,
Pablo

Payments in booking system

I am trying to figure out how I can use Paypal to process payments in a booking system I am building. I think Paypal has a very messy documentation, and I can't seem to get a good overview over what to do. Firstly, I'm from Norway, and it seems Paypal has some restrictions when it comes to what kind of solution I can choose. These two are the ones that seem in the right corner:
Website Payments Standard
Express Checkout
What I generally wants is to send the user to paypal. If the payment is confirmed, the user should be sent to a confirmation page. As I understand it, that won't be a problem. But how can my system know that the payment is okay? Is there any id being sent back and forth? The system needs to save some information about the payment in the database.
What solution should I choose?
And how can I associate the payment with the current booking?
Paypal sends response "Verified" for successful payments when you use ipn_url, using this response you can check if the payment is ok or not.
For more info pls check the link:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro
For Codeigniter you can use paypal library: this might be of help:
https://github.com/orderly/codeigniter-paypal-ipn

Magento Google checkout without leaving magento store

We want to use Google Checkout for our Magento store. Currently, when users clicks checkout button data is sent to Google site and the user can checkout there. We would like to make it do a silent post to Google site, that is we don't want our users to leave our site, it should look like all the processing is in our store.
This is possible in PayPal, but can it be done in Google Checkout too? Are there any examples of implementation?
If not, are there other online payment systems implemented in Magento besides the PayPal which can be used for checkout without leaving the store? I've heard something about AlertPay but I don't know much about it.
When the buyer clicks the Checkout button the shopping cart data is not necessarly sent directly to Google. It can be sent to a web service running on your site and further processed there. The service will use the Checkout API to post the cart to Google. Google will return a URL where your customer can complete the order, and you will redirect the customer to that URL. More info here:
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API.html#server_to_server_technique
Regarding the final checkout step, the customer has to finish the order through Google - the customer's sensitive information such as login credentials, credit card info, is at Google and thus for security reasons he/she has to leave your website.
If you are selling digital content please have a look at Google In-App Payments. It offers a better in-app (in-site) experience:
http://code.google.com/apis/inapppayments/docs/index.html

Resources