Jump to content

i need help on this payment gateway i'm trying to learn


sparkie1985

Recommended Posts

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 by sparkie1985
Link to comment
Share on other sites

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.
  • Like 1
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.