Skip to content

Commit ec1d07a

Browse files
committed
MC-17125: PayPal UK & Australia :: Website Payments Pro Hosted Solution - gateway
1 parent dad895a commit ec1d07a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ input PaymentMethodInput {
4848
hosted_pro: HostedProInput @doc(description:"Required input for PayPal Hosted pro payments")
4949
}
5050

51-
input HostedProInput @doc(description:"Required input for Payments Pro Hosted Solution payment method.") {
51+
input HostedProInput @doc(description:"A set of relative URLs that PayPal will use in response to various actions during the authorization process. Magento prepends the base URL to this value to create a full URL. For example, if the full URL is https://www.example.com/path/to/page.html, the relative URL is path/to/page.html. Use this input for Payments Pro Hosted Solution payment method.") {
5252
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.")
5353
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
}

dev/tests/integration/testsuite/Magento/PaypalGraphQl/Model/Resolver/Guest/PlaceOrderWithPaymentsAdvancedTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public function testResolvePaymentsAdvancedWithInvalidUrl(): void
173173
$paymentMethod = 'payflow_advanced';
174174
$cartId = $this->getMaskedQuoteIdByReservedOrderId->execute('test_quote');
175175

176-
177176
$responseData = $this->setPaymentMethodWithInValidUrl($cartId, $paymentMethod);
178177
$expectedExceptionMessage = "Invalid Url.";
179178
$this->assertArrayHasKey('errors', $responseData);

0 commit comments

Comments
 (0)