sparkie1985 Posted October 25, 2016 Share Posted October 25, 2016 (edited) first thing first i'm a noob at this i trying to learn how a client would integrate into are payment gateway there are 3 steps to integration i have worked out how to do step 1 and 2 but step 3 i don't understand how to do it this is the integration guild https://quaife.docs.oppwa.com/tutorials/integration-guide as you can see in the guild step 3 is getting the payment status as you can see it gives you an example code i am using the php code the bit i don't understand is this Once the payment has been processed, the customer is redirected to your shopperResultUrl along with a GET parameter resourcePath. Important: The baseUrl must end in a "/", e.g. "https://test.oppwa.com/". Then, to get the status of the payment, you should make a GET request to the baseUrl + resourcePath, including your authentication parameters. i am testing on a local host to test this out this is the what i get why the payment is complete http://127.0.0.1/payment_complete.php?id=7B12356D4D0BD7FB64D3222875DD993D.sbg-vm-tx02&resourcePath=%2Fv1%2Fcheckouts%2F7B12356D4D0BD7FB64D3222875DD993D.sbg-vm-tx02%2Fpayment so what part on this would i need to get the payment status if someone could help me i would be great full Edited October 25, 2016 by sparkie1985 Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/ Share on other sites More sharing options...
requinix Posted October 25, 2016 Share Posted October 25, 2016 Dude. Punctuation and complete sentences. plzkthx It's not entirely clear what they're saying, but what I believe they're trying to say is: You need to make a GET request to a particular URL. You've done one like that in step 1 already. This time the URL is not fixed: it starts with "https://test.oppwa.com/" like before but the rest of it was passed in the request URL to your page as "resourcePath". So the proper URL is "https://test.oppwa.com/" . $_GET["resourcePath"]Add on the authentication stuff like before, do a request like before, and the result will be... something. I don't know that part. 1 Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/#findComment-1538597 Share on other sites More sharing options...
sparkie1985 Posted October 25, 2016 Author Share Posted October 25, 2016 thank you for getting back to me admin ill give it ago and ill let you know if it work Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/#findComment-1538598 Share on other sites More sharing options...
ginerjm Posted October 25, 2016 Share Posted October 25, 2016 Dude. Punctuation and complete sentences. plzkthx Nice post Requinex! Part of the lack of understanding of posts that have worse English than their included PHP is simply that. Why, oh why, do people NOT know how to write plain old English anymore when it is obviously their native language??? Do schools only teach "computer" and not the 3 Rs (or was it 4?) anymore? All this contention about "core curriculums" in the papers and schools are forgetting the basics! Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/#findComment-1538622 Share on other sites More sharing options...
sparkie1985 Posted October 27, 2016 Author Share Posted October 27, 2016 (edited) Hi there Ginerjm i don't see why you think it's funny to mock me i have dyslexia and find it hard to EXPLAIN what help i need NEXT TIME PLEASE think twice about mocking people Edited October 27, 2016 by sparkie1985 Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/#findComment-1538647 Share on other sites More sharing options...
gizmola Posted October 27, 2016 Share Posted October 27, 2016 Hi there Ginerjm i don't see why you think it's funny to mock me i have dyslexia and find it hard to EXPLAIN what help i need NEXT TIME PLEASE think twice about mocking people Sparkie, You were not being mocked. Your post is extremely hard to read because you didn't use any punctuation at all. Ginerjm volunteers his time to help people like you with their questions. His feedback is useful to you, because it reflects the way you will be judged by others when they encounter your thoughts in written form. I understand that punctuation can be difficult for people who have Dyslexia. That doesn't unfortunately, change the fact that it is a required part of the language in written form. I also noticed that you didn't use capitalization in your question, but when you chided Gingerjm, you seemed to use and understand where it was required, so clearly you are able to capitalize properly when motivated to do so. I urge you to seek out a Dyslexia tutor to help you with your punctuation issue, if it is something that is still problematic for you. Quote Link to comment https://forums.phpfreaks.com/topic/302404-i-need-help-on-this-payment-gateway-im-trying-to-learn/#findComment-1538653 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.