Skip to content

Commit dad895a

Browse files
committed
MC-17125: PayPal UK & Australia :: Website Payments Pro Hosted Solution - gateway
- update schema desriptions
1 parent 91e65de commit dad895a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/PaypalGraphQl/etc/schema.graphqls

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ type PayflowLinkToken @doc(description:"Contains information used to generate Pa
3232
paypal_url: String @doc(description:"PayPal URL used for requesting Payflow form")
3333
}
3434

35-
type HostedProUrl {
35+
type HostedProUrl @doc(desription("Contains secure URL used for Payments Pro Hosted Solution payment method.") {
3636
secure_form_url: String @doc(description:"Secure Url generated by PayPal")
3737
}
3838

39-
input HostedProUrlInput {
39+
input HostedProUrlInput @doc(description:"The required input to request the secure URL for Payments Pro Hosted Solution payment."){
4040
cart_id: String! @doc(description:"The unique ID that identifies the customer's cart")
4141
}
4242

@@ -48,9 +48,9 @@ input PaymentMethodInput {
4848
hosted_pro: HostedProInput @doc(description:"Required input for PayPal Hosted pro payments")
4949
}
5050

51-
input HostedProInput {
52-
return_url: String! @doc(description:"The URL PayPal will redirect back to upon payment success")
53-
cancel_url: String! @doc(description:"The URL PayPal will redirect back to upon payment cancellation")
51+
input HostedProInput @doc(description:"Required input for Payments Pro Hosted Solution payment method.") {
52+
return_url: String! @doc(description:"The relative URL of the final confirmation page that PayPal will redirect to upon payment success. If the full URL to this page is https://www.example.com/paypal/action/return.html, the relative URL is paypal/action/return.html.")
53+
cancel_url: String! @doc(description:"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 the full URL to this page is https://www.example.com/paypal/action/cancel.html, the relative URL is paypal/action/cancel.html.")
5454
}
5555

5656
input PaypalExpressInput @doc(description:"Required input for Express Checkout and Payments Standard payments") {

0 commit comments

Comments
 (0)