Alexander V
12/09/2022, 8:49 PMAlexander V
12/09/2022, 9:10 PMAlexander V
12/09/2022, 9:33 PMAlexander V
12/11/2022, 9:34 AMGeorge Mendoza
12/13/2022, 1:33 AMAlexander V
12/13/2022, 7:20 AMAlexander V
12/13/2022, 7:21 AM[SolidusPaypalCommercePlatform::Client#execute] #<PayPalCheckoutSdk::Orders::OrdersAuthorizeRequest:0x00007f5575abe8a8 @headers={"Content-Type"=>"application/json"},
@body=nil, @verb="POST", @path="/v2/checkout/orders/4E273902K31525213/authorize?">
[SolidusPaypalCommercePlatform::Client#execute] #<OpenStruct name="UNPROCESSABLE_ENTITY", details=[#<OpenStruct issue="TRANSACTION_REFUSED", description="The request was refused">],
message="The requested action could not be performed, semantically incorrect, or failed business validation.",George Mendoza
12/13/2022, 9:39 AMrails db:setup; rails spree_sample:load.
4. If you haven't done already, create a PayPal sandbox account. Follow the instructions from https://developer.paypal.com/tools/sandbox/.
5. Run the app server.
6. Click on New Payment Method in http://localhost:3000/admin/payment_methods. Fill up the name of the payment method and set Stores to "Sample Store".
7. Once you have created the payment method, set its Client and Client Secret to your sandbox credentials.
8. Try checking out an item from the store.
9. In the payment tab of the checkout, you should now see an option to pay via PayPal.
10. When paying via PayPal, log in with the test personal user account that comes with your Sandbox account. You should find it at https://developer.paypal.com/dashboard/accounts. If you view the account, you should be able to see the user's password as well.
11. Once you've logged in to your test personal user account, you should be able to pay the item with your PayPal balance. Click on "Continue to Review Order" button to continue with the checkout.
12. You should see the Confirm tab of the checkout. You should be able to place the order and complete the checkout.Alexander V
12/13/2022, 10:02 AMAlexander V
12/13/2022, 10:02 AMAlexander V
12/13/2022, 10:04 AM