
- #Paypal payments pro integration guide full#
- #Paypal payments pro integration guide pro#
- #Paypal payments pro integration guide software#
#Paypal payments pro integration guide pro#
The following example shows the setPaymentMethodOnCart mutation constructed for the Website Payments Pro Hosted Solution payment method.
#Paypal payments pro integration guide full#
If the full URL to this page is, the relative URL is paypal/action/return.html The relative URL of the final confirmation page that PayPal will redirect to upon payment success. PayPal Website Payments Pro Hosted Solution Integration Guide provides more. If the full URL to this page is, the relative URL is paypal/action/cancel.html PayPals product name for this payment method varies from country to country. The relative URL of the page that PayPal will redirect to when the buyer cancels the transaction in order to choose a different payment method. If you follow the instructions below this should help you generate a test credit card.
#Paypal payments pro integration guide software#
In addition, the payload must contain a hosted_pro object, which defines the following attributes: Attribute Paypal Payments Pro integration with PHP ecommerce software - ECT. When you set the payment method for a Website Payments Pro Hosted Solution, you must set the code attribute to hosted_pro.

The PayPal gateway returns control of the customer’s browser to the client. As a result, Magento sets the order status to processing, and the order is ready to be invoiced.

When the customer completes the form, the client sends the payment information directly to the PayPal gateway, bypassing the Magento server.Īfter PayPal processes the payment, the gateway runs a silent post request against the Magento server. The PWA client displays a payment form in an iframe rendered from the secure URL. Magento returns the secure URL in the secure_form_url attribute. The client runs the getHostedProUrl query to retrieve the secure URL. The order has the status payment pending. The placeOrder mutation returns an order ID. PayPal’s response includes the secure URL. Magento sends information about the order to PayPal and requests a secure URL that the PWA client will later use to connect to PayPal. The client runs the placeOrder mutation, which creates an order in Magento and begins the authorization process. The PWA client uses the setPaymentMethodOnCart mutation to set the payment method. The following diagram shows the workflow for placing an order when Website Payments Pro Hosted Solution is the selected payment method.

Website Payments Pro Hosted Solution workflow Pro Hosted Solution Integration Guide provides more information. PayPal’s product name for this payment method varies from country to country. This payment method is applicable to Direct Payment and Express Checkout implementations of the Website Payments Pro Hosted Solution. PayPal continues to support merchants with existing integrations outside the UK. The merchant must be based in the United Kingdom to create a new integration with this payment method. PayPal’s Website Payments Pro Hosted Solution allows merchants to accept credit cards, debit cards, and PayPal payments directly on their websites.
