Craftgate is integrated with PayPal which is one of the alternative payment methods. With the API and the Common Payment Page, you can easily receive payments from PayPal users.
In order to use the PayPal integration, you must have completed the following steps.
On
on Merchant Panel > Administration > Merchant Settings > Craftgate Features list.
Enable
PayPal Integration status.
You can receive payments from PayPal users via Craftgate API and Common Payment Page. See: Payment with Payment Form
You can integrate with alternative payment methods service via Craftgate API to receive PayPal payments.
APM Payment Init: You should send apmType
as PAYPAL to init PayPal payment
For more information, see Pay With Alternative Payment Methods
APM Payment Complete with PayPal Account: User will be redirected to PayPal account page. When user approve the payment, user will be redirected to your callbackUrl
with the result.
For more information, see Complete Alternative Payment Methods
The payment experience and flow can be summarized as follows.
Pay
button is clicked, user will be redirected to PayPal account page and after approval of payment user is directed to the callbackUrl
address which is sent while payment form init
request. See: Payment with Payment FormIf you send ["PAYPAL"]
with the enabledPaymentMethods
parameter in the payment form initiation request, the
card payment tab will not be displayed to the user. Only the PayPal tab will be accessible.