Region | International |
---|---|
Currencies | See the currencies page for details |
Refunds | Yes, within 180 days |
Disputes | Yes, see disputes below for details |
Preauthorization | No |
Recurring payments | Yes |
Activation process
Mangopay checks your platform’s eligibility
Mangopay refers your platform to PayPal
PayPal approves your request
PayPal accompanies your platform in setting up a PayPal Business account
PayPal notifies Mangopay that your platform is ready to go live
Mangopay activates PayPal in Production
You approve Mangopay in PayPal
User chooses payment method
Payment initiation
ReturnURL
.If the payments are recurring (for example, a subscription), you need an additional API call to setup the recurrence before requesting the pay-in (see Recurring section)Redirection
RedirectURL
in the API response.On the PayPal page, the user connects to their PayPal account, selects a card, bank, or PayPal balance, and confirms the payment.Return
ReturnURL
that you specified in the payment request.Outcome
CREATED
to SUCCEEDED
or FAILED
, indicating the outcome.Set up webhooks for the PAYIN_NORMAL_SUCCEEDED
and PAYIN_NORMAL_FAILED
event types to be notified of this.Set up the recurring registration
RecurringPayinRegistrationId
allows you to link the recurring pay-ins to this registration object. The Status
of the registration object is CREATED
.Process the customer-initiated transaction (CIT)
Status
of the registration object becomes AUTHENTICATION_NEEDED
.To authenticate the CIT, you need to redirect the user to the RedirectURL
so they can agree to the recurring payments and validate the first transaction.PlatformName (payment services by Mangopay)Once the user agrees and the first payment is successfully authorized, the
Status
of the registration object changes to IN_PROGRESS
. This indicates that you can debit subsequent payments without the user present.Set up a webhook for the RECURRING_REGISTRATION_IN_PROGRESS
event type to be notified of this.Process merchant-initiated transactions (MIT)
Status
to change to AUTHENTICATION_NEEDED
during the recurrence. The status may become ENDED
, as described below.Status
can be set to ENDED
to indicate that it can no longer be used. You can do this using the PUT Update a Recurring PayIn Registration endpoint.
UserId
, so you may need to set the registration to ENDED
in order to create a new one with the same user.ENDED
status in the event that PayPal notifies that the user has revoked the recurrence directly from their PayPal account.
Set up a webhook for the RECURRING_REGISTRATION_ENDED
event type to be notified of this.
ShippingPreference
parameter allows you to specify the behavior of the shipping address on the PayPal payment page.
SET_PROVIDED_ADDRESS
- The Shipping
parameter becomes required and its values are displayed to the end user, who is not able to modify them.GET_FROM_FILE
- The Shipping
parameter is ignored and the end user can choose from registered addresses.NO_SHIPPING
- No shipping address section is displayed.Obtain the shipment’s tracking number from the carrier
Send the tracking number and carrier to Mangopay
Optionally, trigger an email from PayPal to the buyer
NotifyBuyer
parameter to true
when you make the PUT call.If making multiple calls for the same transaction, notify the buyer on only one of the calls (for example, the first).ResultCode
is LOST
and it cannot be contested in the Mangopay Dashboard.